diff --git a/src/main/java/org/apache/commons/collections4/list/TransformedList.java b/src/main/java/org/apache/commons/collections4/list/TransformedList.java index 8826695d0..eb701b264 100644 --- a/src/main/java/org/apache/commons/collections4/list/TransformedList.java +++ b/src/main/java/org/apache/commons/collections4/list/TransformedList.java @@ -62,9 +62,8 @@ public class TransformedList extends TransformedCollection implements List } @Override - public void set(E object) { - object = transform(object); - getListIterator().set(object); + public void set(final E object) { + getListIterator().set(transform(object)); } }