mirror of
https://github.com/apache/commons-lang.git
synced 2025-02-12 13:05:06 +00:00
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 void testReflectionEqualsExcludeFields() throws Exception {
|
||||
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 void testReflectionHashCodeExcludeFields() throws Exception {
|
||||
|
||||
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…
x
Reference in New Issue
Block a user