mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-09-10 01:29:38 +02:00
Remove null checks for writer/reader fields in XMPPTCPConnection
as those are never null since
60f324eb1b
(the previous commit).
This commit is contained in:
parent
60f324eb1b
commit
78dcaec75b
2 changed files with 21 additions and 15 deletions
|
@ -234,6 +234,16 @@ public class SynchronizationPoint<E extends Exception> {
|
|||
}
|
||||
}
|
||||
|
||||
public boolean isNotInInitialState() {
|
||||
connectionLock.lock();
|
||||
try {
|
||||
return state != State.Initial;
|
||||
}
|
||||
finally {
|
||||
connectionLock.unlock();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if this synchronization point has its request already sent.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue