Author: britter
Date: Wed Mar 12 19:21:09 2014
New Revision: 1576864

URL: http://svn.apache.org/r1576864
Log:
No need to assign values that are never used

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=1576864&r1=1576863&r2=1576864&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
 Wed Mar 12 19:21:09 2014
@@ -82,7 +82,7 @@ public class PropertyInterpreterTestCase
     {
         BeanAccessor<TestBean> beanAccessor = on( target );
 
-        Object value = PropertyInterpreter.interpret( beanAccessor, 
"intIndexed[-4]" ).get();
+        PropertyInterpreter.interpret( beanAccessor, "intIndexed[-4]" ).get();
     }
 
     @Test( expected = IllegalArgumentException.class )
@@ -90,7 +90,7 @@ public class PropertyInterpreterTestCase
     {
         BeanAccessor<TestBean> beanAccessor = on( target );
 
-        Object value = PropertyInterpreter.interpret( beanAccessor, 
"intIndexed[a]" ).get();
+        PropertyInterpreter.interpret( beanAccessor, "intIndexed[a]" ).get();
     }
 
     @Test( expected = IllegalArgumentException.class )
@@ -98,7 +98,7 @@ public class PropertyInterpreterTestCase
     {
         BeanAccessor<TestBean> beanAccessor = on( target );
 
-        Object value = PropertyInterpreter.interpret( beanAccessor, 
"intIndexed[4)" ).get();
+        PropertyInterpreter.interpret( beanAccessor, "intIndexed[4)" ).get();
     }
 
     @Test
@@ -119,7 +119,7 @@ public class PropertyInterpreterTestCase
     {
         BeanAccessor<TestBean> beanAccessor = on( target );
 
-        Object value = PropertyInterpreter.interpret( beanAccessor, 
"mappedProperty(First_Key)" ).get();
+        PropertyInterpreter.interpret( beanAccessor, 
"mappedProperty(First_Key)" ).get();
     }
 
     @Test( expected = IllegalArgumentException.class )
@@ -127,7 +127,7 @@ public class PropertyInterpreterTestCase
     {
         BeanAccessor<TestBean> beanAccessor = on( target );
 
-        Object value = PropertyInterpreter.interpret( beanAccessor, 
"mappedProperty(FirstKey]" ).get();
+        PropertyInterpreter.interpret( beanAccessor, 
"mappedProperty(FirstKey]" ).get();
     }
 
     @Test
@@ -148,7 +148,7 @@ public class PropertyInterpreterTestCase
     {
         BeanAccessor<TestBean> beanAccessor = on( target );
 
-        Object value = PropertyInterpreter.interpret( beanAccessor, 
"nested..nested.mappedNested.value(key)" ).get();
+        PropertyInterpreter.interpret( beanAccessor, 
"nested..nested.mappedNested.value(key)" ).get();
     }
 
     @Test( expected = IllegalArgumentException.class )
@@ -156,7 +156,7 @@ public class PropertyInterpreterTestCase
     {
         BeanAccessor<TestBean> beanAccessor = on( target );
 
-        Object value = PropertyInterpreter.interpret( beanAccessor, 
".nested.mappedNested.value(key)" ).get();
+        PropertyInterpreter.interpret( beanAccessor, 
".nested.mappedNested.value(key)" ).get();
     }
 
     @Test( expected = IllegalArgumentException.class )
@@ -164,6 +164,6 @@ public class PropertyInterpreterTestCase
     {
         BeanAccessor<TestBean> beanAccessor = on( target );
 
-        Object value = PropertyInterpreter.interpret( beanAccessor, 
"nested.MappedNested.value(key)" ).get();
+        PropertyInterpreter.interpret( beanAccessor, 
"nested.MappedNested.value(key)" ).get();
     }
 }


Reply via email to