1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-26 00:02:06 +01:00

Remove not thrown NotConnectedException in XMPPTCPConnection

This commit is contained in:
Florian Schmaus 2015-09-25 18:01:59 +02:00
parent 7ceb5f09df
commit 4f39c5b9c9

View file

@ -1762,7 +1762,7 @@ public class XMPPTCPConnection extends AbstractXMPPConnection {
return Math.min(clientResumptionTime, serverResumptionTime); return Math.min(clientResumptionTime, serverResumptionTime);
} }
private void processHandledCount(long handledCount) throws NotConnectedException, StreamManagementCounterError { private void processHandledCount(long handledCount) throws StreamManagementCounterError {
long ackedStanzasCount = SMUtils.calculateDelta(handledCount, serverHandledStanzasCount); long ackedStanzasCount = SMUtils.calculateDelta(handledCount, serverHandledStanzasCount);
final List<Stanza> ackedStanzas = new ArrayList<Stanza>( final List<Stanza> ackedStanzas = new ArrayList<Stanza>(
handledCount <= Integer.MAX_VALUE ? (int) handledCount handledCount <= Integer.MAX_VALUE ? (int) handledCount