Fix whitespace errors in AbstractXMPPConnection

This commit is contained in:
Florian Schmaus 2019-08-22 15:28:54 +02:00
parent 9f0420be4f
commit 8f2eefaeb0
1 changed files with 3 additions and 3 deletions

View File

@ -1192,11 +1192,11 @@ public abstract class AbstractXMPPConnection implements XMPPConnection {
@Override
public void setReplyTimeout(long timeout) {
if (Long.MAX_VALUE - System.currentTimeMillis() < timeout) {
throw new IllegalArgumentException("Extremely long reply timeout");
if (Long.MAX_VALUE - System.currentTimeMillis() < timeout) {
throw new IllegalArgumentException("Extremely long reply timeout");
}
else {
replyTimeout = timeout;
replyTimeout = timeout;
}
}