diff --git a/core/src/main/templates/gnu/trove/map/hash/_K__V_HashMap.template b/core/src/main/templates/gnu/trove/map/hash/_K__V_HashMap.template index a10d51a..ab9df3e 100644 --- a/core/src/main/templates/gnu/trove/map/hash/_K__V_HashMap.template +++ b/core/src/main/templates/gnu/trove/map/hash/_K__V_HashMap.template @@ -864,10 +864,10 @@ public class T#K##V#HashMap extends T#K##V#Hash implements T#K##V#Map, Externali /** {@inheritDoc} */ public boolean remove( #v# entry ) { #v#[] values = _values; - #k#[] set = _set; + byte[] states = _states; for ( int i = values.length; i-- > 0; ) { - if ( ( set[i] != FREE && set[i] != REMOVED ) && entry == values[i] ) { + if ( ( states[i] != FREE && states[i] != REMOVED ) && entry == values[i] ) { removeAt( i ); return true; } @@ -875,7 +875,6 @@ public class T#K##V#HashMap extends T#K##V#Hash implements T#K##V#Map, Externali return false; } - /** {@inheritDoc} */ public boolean containsAll( Collection collection ) { for ( Object element : collection ) {