Fix java.util.HashSet.clone method

This commit is contained in:
Alexey Andreev 2015-07-06 22:06:31 +03:00
parent 4a19aaf091
commit d8a1983876

View File

@ -114,7 +114,7 @@ public class THashSet<E> extends TAbstractSet<E> implements TCloneable, TSeriali
public TObject clone0() {
try {
THashSet<E> clone = (THashSet<E>) super.clone();
clone.backingMap = (THashMap<E, THashSet<E>>)backingMap.clone0();
clone.backingMap = (THashMap<E, THashSet<E>>)backingMap.clone();
return clone;
} catch (TCloneNotSupportedException e) {
return null;