Details
-
Bug
-
Status: Closed
-
Trivial
-
Resolution: Fixed
-
None
-
None
-
None
Description
Invoking ant test results in error message:
===
[javac] /Users/yozh/devel/left/commons-lang/src/test/org/apache/commons/lang/builder/EqualsBuilderTest.java:969: reference to reflectionEquals is ambiguous, both method reflectionEquals(java.lang.Object,java.lang.Object,java.util.Collection) in org.apache.commons.lang.builder.EqualsBuilder and method reflectionEquals(java.lang.Object,java.lang.Object,java.lang.String[]) in org.apache.commons.lang.builder.EqualsBuilder match
[javac] assertTrue(!EqualsBuilder.reflectionEquals(x1, x2, null));
[javac] ^
[javac] /Users/yozh/devel/left/commons-lang/src/test/org/apache/commons/lang/builder/HashCodeBuilderTest.java:445: reference to reflectionHashCode is ambiguous, both method reflectionHashCode(java.lang.Object,java.util.Collection) in org.apache.commons.lang.builder.HashCodeBuilder and method reflectionHashCode(java.lang.Object,java.lang.String[]) in org.apache.commons.lang.builder.HashCodeBuilder match
[javac] assertEquals((((17 * 37 + 1) * 37 + 2) * 37 + 3), HashCodeBuilder.reflectionHashCode(x, null));
===