Avoid creating sublist when unnecessary.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5815 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Andrzej Kapolka
2009-06-04 21:52:24 +00:00
parent f3c3269342
commit 37801c3cf0
@@ -122,7 +122,9 @@ public class DatagramSequencer
}
}
}
_sendrecs.subList(0, remove).clear();
if (remove > 0) {
_sendrecs.subList(0, remove).clear();
}
// read the contents of the datagram, note the transport, and return
Message datagram = (Message)_uin.readObject();