You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by br...@apache.org on 2015/11/03 22:03:26 UTC
svn commit: r1712410 -
/commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/PropertyInterpreter.java
Author: britter
Date: Tue Nov 3 21:03:26 2015
New Revision: 1712410
URL: http://svn.apache.org/viewvc?rev=1712410&view=rev
Log:
Remove unnecessary local variable
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=1712410&r1=1712409&r2=1712410&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 Tue Nov 3 21:03:26 2015
@@ -69,9 +69,7 @@ final class PropertyInterpreter {
}
private static String[] obtainProperties(String propertyExpression) {
- String[] properties = propertyExpression.split("\\.");
-
- return properties;
+ return propertyExpression.split("\\.");
}
private interface Expression {