mirror of
https://github.com/apache/commons-collections.git
synced 2025-02-17 15:35:00 +00:00
Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-collections.git
This commit is contained in:
commit
98293b24bd
@ -710,12 +710,12 @@ public class TreeList<E> extends AbstractList<E> {
|
||||
/**
|
||||
* Sets the relative position.
|
||||
*/
|
||||
private int setOffset(final AVLNode<E> node, final int newOffest) {
|
||||
private int setOffset(final AVLNode<E> node, final int newOffset) {
|
||||
if (node == null) {
|
||||
return 0;
|
||||
}
|
||||
final int oldOffset = getOffset(node);
|
||||
node.relativePosition = newOffest;
|
||||
node.relativePosition = newOffset;
|
||||
return oldOffset;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user