You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by ja...@apache.org on 2008/06/02 22:34:46 UTC

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

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();
                         }
-                	}
+                    }
                 }
             }