mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 16:14:10 -08:00
Fix TSetFromMap#add return value
This commit is contained in:
parent
27a4848947
commit
3ef3678ed0
|
@ -46,7 +46,7 @@ public class TSetFromMap<E> extends TAbstractSet<E> {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean add(E e) {
|
public boolean add(E e) {
|
||||||
return map.put(e, TBoolean.TRUE) != null;
|
return map.put(e, TBoolean.TRUE) == null;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue
Block a user