memory usage decreased

This commit is contained in:
2015-03-19 10:21:52 +01:00
parent 7d05b54d70
commit 45fa122d4e
4 changed files with 11 additions and 9 deletions
@@ -58,9 +58,6 @@ public class ClassPath {
if (!Objects.equals(this.packageStr, other.packageStr)) {
return false;
}
if (!Objects.equals(this.className, other.className)) {
return false;
}
return true;
return Objects.equals(this.className, other.className);
}
}
@@ -65,7 +65,7 @@ public class ScriptPack extends AS3ClassTreeItem {
}
public ScriptPack(ClassPath path, ABC abc, int scriptIndex, List<Integer> traitIndices) {
super(path.className, path.toString());
super(path.className, path);
this.abc = abc;
this.scriptIndex = scriptIndex;
this.traitIndices = traitIndices;