You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2010/04/06 01:28:18 UTC
svn commit: r930981 -
/commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl2/JexlArithmetic.java
Author: sebb
Date: Mon Apr 5 23:28:18 2010
New Revision: 930981
URL: http://svn.apache.org/viewvc?rev=930981&view=rev
Log:
TYPE => type, because it is not a class constant
Modified:
commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl2/JexlArithmetic.java
Modified: commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl2/JexlArithmetic.java
URL: http://svn.apache.org/viewvc/commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl2/JexlArithmetic.java?rev=930981&r1=930980&r2=930981&view=diff
==============================================================================
--- commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl2/JexlArithmetic.java (original)
+++ commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl2/JexlArithmetic.java Mon Apr 5 23:28:18 2010
@@ -224,8 +224,8 @@ public class JexlArithmetic {
// if the commonClass has an equivalent primitive type, get it
if (isNumber) {
try {
- Field TYPE = commonClass.getField("TYPE");
- commonClass = (Class<?>) TYPE.get(null);
+ final Field type = commonClass.getField("TYPE");
+ commonClass = (Class<?>) type.get(null);
} catch (Exception xany) {
// ignore
}