1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-24 23:32:05 +01:00

Fix whitespace errors in AbstractXMPPConnection

This commit is contained in:
Florian Schmaus 2019-08-22 15:28:54 +02:00
parent 9f0420be4f
commit 8f2eefaeb0

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;
}
}