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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user