X-Git-Url: http://jaekl.net/gitweb/?p=cfb.git;a=blobdiff_plain;f=prod%2Fnet%2Fjaekl%2Fcfb%2Fxml%2FBugCollection.java;h=0ce05ecaa888a18455c07db4e401e47fd4de4e13;hp=98ea93b422446de826716cbcce8f0da8511a3518;hb=f1c4313e9229dd2d5f7fd984169cbdb89fef4cd5;hpb=9868f50714076f9dc90e7021a45324411afd9ce1 diff --git a/prod/net/jaekl/cfb/xml/BugCollection.java b/prod/net/jaekl/cfb/xml/BugCollection.java index 98ea93b..0ce05ec 100644 --- a/prod/net/jaekl/cfb/xml/BugCollection.java +++ b/prod/net/jaekl/cfb/xml/BugCollection.java @@ -5,6 +5,7 @@ import java.util.ArrayList; import java.util.Collections; import java.util.List; +import net.jaekl.cfb.util.Util; import net.jaekl.qd.xml.ParseResult; import net.jaekl.qd.xml.XmlParseException; @@ -52,4 +53,16 @@ public class BugCollection extends ParseResult { } } + @Override + public boolean equals(Object obj) { + if (null == obj) { + return false; + } + if (! (obj instanceof BugCollection)) { + return false; + } + BugCollection other = (BugCollection)obj; + + return Util.listsAreEqual(this.m_bugs, other.m_bugs); + } }