commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scolebou...@apache.org
Subject svn commit: r418568 - in /jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/builder: EqualsBuilderTest.java HashCodeBuilderTest.java
Date Sun, 02 Jul 2006 10:46:53 GMT
Author: scolebourne
Date: Sun Jul  2 03:46:52 2006
New Revision: 418568

URL: http://svn.apache.org/viewvc?rev=418568&view=rev
Log:
Fix compilation error

Modified:
    jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/builder/EqualsBuilderTest.java
    jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/builder/HashCodeBuilderTest.java

Modified: jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/builder/EqualsBuilderTest.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/builder/EqualsBuilderTest.java?rev=418568&r1=418567&r2=418568&view=diff
==============================================================================
--- jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/builder/EqualsBuilderTest.java
(original)
+++ jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/builder/EqualsBuilderTest.java
Sun Jul  2 03:46:52 2006
@@ -966,7 +966,7 @@
         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"}));
 

Modified: jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/builder/HashCodeBuilderTest.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/builder/HashCodeBuilderTest.java?rev=418568&r1=418567&r2=418568&view=diff
==============================================================================
--- jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/builder/HashCodeBuilderTest.java
(original)
+++ jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/builder/HashCodeBuilderTest.java
Sun Jul  2 03:46:52 2006
@@ -442,7 +442,7 @@
 
         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"}));
 



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message