1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-22 12:02: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;
}
}