From e3b1fc4654d7691c85f3cc6bec9a8ba494150794 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jindra=20Pet=C5=99=C3=ADk?= Date: Tue, 9 Mar 2021 11:04:37 +0100 Subject: [PATCH] Fixed: #1636 Newactivation hashcode/equals recurse problem --- .../abc/avm2/model/NewActivationAVM2Item.java | 29 +------------------ 1 file changed, 1 insertion(+), 28 deletions(-) diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/model/NewActivationAVM2Item.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/model/NewActivationAVM2Item.java index 78b6e96fd..34a9065f7 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/model/NewActivationAVM2Item.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/model/NewActivationAVM2Item.java @@ -27,7 +27,6 @@ import com.jpexs.decompiler.graph.TypeItem; import com.jpexs.decompiler.graph.model.LocalData; import java.util.HashMap; import java.util.List; -import java.util.Objects; /** * @@ -59,31 +58,5 @@ public class NewActivationAVM2Item extends AVM2Item { @Override public boolean hasReturnValue() { return true; - } - - @Override - public int hashCode() { - int hash = 5; - hash = 29 * hash + Objects.hashCode(this.slots); - return hash; - } - - @Override - public boolean equals(Object obj) { - if (this == obj) { - return true; - } - if (obj == null) { - return false; - } - if (getClass() != obj.getClass()) { - return false; - } - final NewActivationAVM2Item other = (NewActivationAVM2Item) obj; - if (!Objects.equals(this.slots, other.slots)) { - return false; - } - return true; - } - + } }