Missed a line from the previous change. Added comment for new ArrayUtil method
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5498 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -83,6 +83,7 @@ public class Throttle
|
||||
// copy to a larger buffer, leaving zeroes at the beginning
|
||||
oldestOp = _oldestOp + operations - _ops.length;
|
||||
ArrayUtil.copy(_ops, 0, ops, 0, _oldestOp);
|
||||
ArrayUtil.copy(_ops, _oldestOp, ops, oldestOp, _ops.length - _oldestOp);
|
||||
|
||||
} else if (operations < _ops.length) {
|
||||
// copy to a smaller buffer, truncating older operations
|
||||
|
||||
Reference in New Issue
Block a user