Skip to content
Snippets Groups Projects

Fix the entity equals method

2 files
+ 16
0
Compare changes
  • Side-by-side
  • Inline

Files

@@ -86,6 +86,7 @@ public class Entity {
return this.equivalent(other)
&& Objects.equals(this.metricList, other.metricList)
&& new ArrayList<>(this.children).containsAll(other.children)
&& new ArrayList<>(other.children).containsAll(this.children)
&& Objects.equals(this.metricReports, other.metricReports);
}
return false;
Loading