mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 08:14:09 -08:00
Fix java.util.HashSet.clone method
This commit is contained in:
parent
4a19aaf091
commit
d8a1983876
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user