commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brit...@apache.org
Subject svn commit: r1576866 - /commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/PropertyInterpreter.java
Date Wed, 12 Mar 2014 19:27:05 GMT
Author: britter
Date: Wed Mar 12 19:27:05 2014
New Revision: 1576866

URL: http://svn.apache.org/r1576866
Log:
Remove unnecessary assignment

Modified:
    commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/PropertyInterpreter.java

Modified: commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/PropertyInterpreter.java
URL: http://svn.apache.org/viewvc/commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/PropertyInterpreter.java?rev=1576866&r1=1576865&r2=1576866&view=diff
==============================================================================
--- commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/PropertyInterpreter.java
(original)
+++ commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/PropertyInterpreter.java
Wed Mar 12 19:27:05 2014
@@ -72,7 +72,7 @@ final class PropertyInterpreter
 
     private static BeanAccessor<?> processExpressions( BeanAccessor<?> beanAccessor,
Queue<Expression> expressionQueue )
     {
-        Expression expression = null;
+        Expression expression;
         while ( ( expression = expressionQueue.poll() ) != null )
         {
             beanAccessor = expression.interpret( beanAccessor );



Mime
View raw message