commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r202181 - /jakarta/commons/proper/jexl/trunk/src/java/org/apache/commons/jexl/parser/ASTEmptyFunction.java
Date Tue, 28 Jun 2005 13:52:49 GMT
Author: dion
Date: Tue Jun 28 06:52:47 2005
New Revision: 202181

URL: http://svn.apache.org/viewcvs?rev=202181&view=rev
Log:
Remove redundant cast

Modified:
    jakarta/commons/proper/jexl/trunk/src/java/org/apache/commons/jexl/parser/ASTEmptyFunction.java

Modified: jakarta/commons/proper/jexl/trunk/src/java/org/apache/commons/jexl/parser/ASTEmptyFunction.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/jexl/trunk/src/java/org/apache/commons/jexl/parser/ASTEmptyFunction.java?rev=202181&r1=202180&r2=202181&view=diff
==============================================================================
--- jakarta/commons/proper/jexl/trunk/src/java/org/apache/commons/jexl/parser/ASTEmptyFunction.java
(original)
+++ jakarta/commons/proper/jexl/trunk/src/java/org/apache/commons/jexl/parser/ASTEmptyFunction.java
Tue Jun 28 06:52:47 2005
@@ -60,7 +60,7 @@
         if (o == null)
             return Boolean.TRUE;
 
-        if (o instanceof String && "".equals((String) o))
+        if (o instanceof String && "".equals(o))
             return Boolean.TRUE;
 
         if (o.getClass().isArray() && ((Object[])o).length == 0)



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message