This is an automated email from the git hooks/post-receive script. eugene-guest pushed a commit to annotated tag OpenBSD in repository testng.
commit cb8835a2e39820e1b71e606259e59dd6f4d7eff0 Author: Cedric Beust <[email protected]> Date: Thu May 7 18:24:20 2015 -0700 Test fix: --- src/main/java/org/testng/xml/XmlClass.java | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/src/main/java/org/testng/xml/XmlClass.java b/src/main/java/org/testng/xml/XmlClass.java index 7022b72..c588965 100755 --- a/src/main/java/org/testng/xml/XmlClass.java +++ b/src/main/java/org/testng/xml/XmlClass.java @@ -253,17 +253,10 @@ public class XmlClass implements Serializable, Cloneable { if (getClass() != obj.getClass()) return XmlSuite.f(); XmlClass other = (XmlClass) obj; - if (m_class == null) { - - if (other.m_class != null) { - return false; - } - } else if (m_class != null && other.m_class != null && !m_class.equals(other.m_class)) { - return false; - } else if (other.m_loadClasses != m_loadClasses) { - return false; + if (other.m_loadClasses != m_loadClasses) { + return XmlSuite.f(); } else if (!m_excludedMethods.equals(other.m_excludedMethods)) { - return false; + return XmlSuite.f(); } if (m_includedMethods == null) { if (other.m_includedMethods != null) -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/testng.git _______________________________________________ pkg-java-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

