geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jawar...@apache.org
Subject svn commit: r662552 - /geronimo/gshell/trunk/gshell-support/gshell-expr/src/main/java/org/apache/geronimo/gshell/expression/JexlExpressionEvaluator.java
Date Mon, 02 Jun 2008 20:34:46 GMT
Author: jawarner
Date: Mon Jun  2 13:34:46 2008
New Revision: 662552

URL: http://svn.apache.org/viewvc?rev=662552&view=rev
Log:
GSHELL-112: Can not evaluate a variable followed by a quotation mark

Modified:
    geronimo/gshell/trunk/gshell-support/gshell-expr/src/main/java/org/apache/geronimo/gshell/expression/JexlExpressionEvaluator.java

Modified: geronimo/gshell/trunk/gshell-support/gshell-expr/src/main/java/org/apache/geronimo/gshell/expression/JexlExpressionEvaluator.java
URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-support/gshell-expr/src/main/java/org/apache/geronimo/gshell/expression/JexlExpressionEvaluator.java?rev=662552&r1=662551&r2=662552&view=diff
==============================================================================
--- geronimo/gshell/trunk/gshell-support/gshell-expr/src/main/java/org/apache/geronimo/gshell/expression/JexlExpressionEvaluator.java
(original)
+++ geronimo/gshell/trunk/gshell-support/gshell-expr/src/main/java/org/apache/geronimo/gshell/expression/JexlExpressionEvaluator.java
Mon Jun  2 13:34:46 2008
@@ -124,15 +124,15 @@
             else {
                 end = input.indexOf(" ", start);
                 if (end == -1) {
-                	end = input.indexOf("\"", start);
-                	
-                	if (end == -1) {
+                    end = input.indexOf("\"", start);
+                    
+                    if (end == -1) {
                         end = input.indexOf("\t", start);
 
                         if (end == -1) {
                             end = input.length();
                         }
-                	}
+                    }
                 }
             }
 



Mime
View raw message