mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 16:14:10 -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() {
|
public TObject clone0() {
|
||||||
try {
|
try {
|
||||||
THashSet<E> clone = (THashSet<E>) super.clone();
|
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;
|
return clone;
|
||||||
} catch (TCloneNotSupportedException e) {
|
} catch (TCloneNotSupportedException e) {
|
||||||
return null;
|
return null;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user