mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-12-24 03:27:59 +01:00
Fix whitespace errors in AbstractXMPPConnection
This commit is contained in:
parent
9f0420be4f
commit
8f2eefaeb0
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue