Fix compilation error
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@418568 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
5c20e64552
commit
1cdf7916ec
|
@ -966,7 +966,7 @@ public class EqualsBuilderTest extends TestCase {
|
|||
assertTrue(!EqualsBuilder.reflectionEquals(x1, x2));
|
||||
|
||||
// doesn't barf on null, empty array, or non-existent field, but still tests as not equal
|
||||
assertTrue(!EqualsBuilder.reflectionEquals(x1, x2, null));
|
||||
assertTrue(!EqualsBuilder.reflectionEquals(x1, x2, (String[]) null));
|
||||
assertTrue(!EqualsBuilder.reflectionEquals(x1, x2, new String[] {}));
|
||||
assertTrue(!EqualsBuilder.reflectionEquals(x1, x2, new String[] {"xxx"}));
|
||||
|
||||
|
|
|
@ -442,7 +442,7 @@ public class HashCodeBuilderTest extends TestCase {
|
|||
|
||||
assertEquals((((17 * 37 + 1) * 37 + 2) * 37 + 3), HashCodeBuilder.reflectionHashCode(x));
|
||||
|
||||
assertEquals((((17 * 37 + 1) * 37 + 2) * 37 + 3), HashCodeBuilder.reflectionHashCode(x, null));
|
||||
assertEquals((((17 * 37 + 1) * 37 + 2) * 37 + 3), HashCodeBuilder.reflectionHashCode(x, (String[]) null));
|
||||
assertEquals((((17 * 37 + 1) * 37 + 2) * 37 + 3), HashCodeBuilder.reflectionHashCode(x, new String[] {}));
|
||||
assertEquals((((17 * 37 + 1) * 37 + 2) * 37 + 3), HashCodeBuilder.reflectionHashCode(x, new String[] {"xxx"}));
|
||||
|
||||
|
|
Loading…
Reference in New Issue