Author: britter
Date: Tue Nov  3 21:18:23 2015
New Revision: 1712421

URL: http://svn.apache.org/viewvc?rev=1712421&view=rev
Log:
Casting value to String is redundant

Modified:
    
commons/sandbox/beanutils2/trunk/src/test/java/org/apache/commons/beanutils2/PropertyInterpreterTestCase.java

Modified: 
commons/sandbox/beanutils2/trunk/src/test/java/org/apache/commons/beanutils2/PropertyInterpreterTestCase.java
URL: 
http://svn.apache.org/viewvc/commons/sandbox/beanutils2/trunk/src/test/java/org/apache/commons/beanutils2/PropertyInterpreterTestCase.java?rev=1712421&r1=1712420&r2=1712421&view=diff
==============================================================================
--- 
commons/sandbox/beanutils2/trunk/src/test/java/org/apache/commons/beanutils2/PropertyInterpreterTestCase.java
 (original)
+++ 
commons/sandbox/beanutils2/trunk/src/test/java/org/apache/commons/beanutils2/PropertyInterpreterTestCase.java
 Tue Nov  3 21:18:23 2015
@@ -127,7 +127,7 @@ public class PropertyInterpreterTestCase
         assertNotNull("Got no value", value);
         assertTrue("Got a value of the wrong type", (value instanceof String));
         assertTrue("Got an incorrect value",
-                
target.getNested().getNested().getMappedNested().getValue("key").equals((String)
 value));
+                
target.getNested().getNested().getMappedNested().getValue("key").equals(value));
     }
 
     @Test(expected = IllegalArgumentException.class)


Reply via email to