commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1135688 - /commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl2/JexlThreadedArithmetic.java
Date Tue, 14 Jun 2011 16:37:34 GMT
Author: sebb
Date: Tue Jun 14 16:37:34 2011
New Revision: 1135688

URL: http://svn.apache.org/viewvc?rev=1135688&view=rev
Log:
Unnecessary code

Modified:
    commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl2/JexlThreadedArithmetic.java

Modified: commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl2/JexlThreadedArithmetic.java
URL: http://svn.apache.org/viewvc/commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl2/JexlThreadedArithmetic.java?rev=1135688&r1=1135687&r2=1135688&view=diff
==============================================================================
--- commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl2/JexlThreadedArithmetic.java
(original)
+++ commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl2/JexlThreadedArithmetic.java
Tue Jun 14 16:37:34 2011
@@ -74,7 +74,7 @@ public class JexlThreadedArithmetic exte
      * @param flag true means no JexlException will occur, false allows them, null reverts
to default behavior
      */
     public static void setLenient(Boolean flag) {
-        FEATURES.get().lenient = flag == null? null : flag;
+        FEATURES.get().lenient = flag;
     }
     
     /**



Mime
View raw message