commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r202179 - /jakarta/commons/proper/jexl/trunk/src/java/org/apache/commons/jexl/ExpressionFactory.java
Date Tue, 28 Jun 2005 13:51:48 GMT
Author: dion
Date: Tue Jun 28 06:51:47 2005
New Revision: 202179

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

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

Modified: jakarta/commons/proper/jexl/trunk/src/java/org/apache/commons/jexl/ExpressionFactory.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/jexl/trunk/src/java/org/apache/commons/jexl/ExpressionFactory.java?rev=202179&r1=202178&r2=202179&view=diff
==============================================================================
--- jakarta/commons/proper/jexl/trunk/src/java/org/apache/commons/jexl/ExpressionFactory.java
(original)
+++ jakarta/commons/proper/jexl/trunk/src/java/org/apache/commons/jexl/ExpressionFactory.java
Tue Jun 28 06:51:47 2005
@@ -128,11 +128,8 @@
         
             return e;
         }
-        else 
-        {
-            log.error( "Invalid Expression, node of type: " + node.getClass().getName() );
-            throw new Exception("Invalid Expression: neither Reference nor Expression");
-        }
+        log.error( "Invalid Expression, node of type: " + node.getClass().getName() );
+        throw new Exception("Invalid Expression: neither Reference nor Expression");
     }
 
     /**



---------------------------------------------------------------------
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