don't throw IO exception at end of stream

This commit is contained in:
Daniel Gultsch 2016-04-10 00:19:53 +02:00
parent 91b17c6925
commit 5786e75374

View file

@ -560,7 +560,6 @@ public class XmppConnection implements Runnable {
}
nextTag = tagReader.readTag();
}
throw new IOException("reached end of stream. last tag was "+nextTag);
}
private void acknowledgeStanzaUpTo(int serverCount) {