This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-collections.git
The following commit(s) were added to refs/heads/master by this push: new 92ec85a Typo fixed in TreeList. (#116) 92ec85a is described below commit 92ec85a129c80bcecf2c8dbe33e0c72fff279441 Author: Chen <50514813+dot...@users.noreply.github.com> AuthorDate: Sat Nov 16 03:40:18 2019 +0800 Typo fixed in TreeList. (#116) --- src/main/java/org/apache/commons/collections4/list/TreeList.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/apache/commons/collections4/list/TreeList.java b/src/main/java/org/apache/commons/collections4/list/TreeList.java index 09e4200..7e04b44 100644 --- a/src/main/java/org/apache/commons/collections4/list/TreeList.java +++ b/src/main/java/org/apache/commons/collections4/list/TreeList.java @@ -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; }