commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1207344 - in /commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl2/parser: JexlParser.java ParseException.java
Date Mon, 28 Nov 2011 16:03:00 GMT
Author: sebb
Date: Mon Nov 28 16:02:59 2011
New Revision: 1207344

URL: http://svn.apache.org/viewvc?rev=1207344&view=rev
Log:
Javadoc; boxing

Modified:
    commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl2/parser/JexlParser.java
    commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl2/parser/ParseException.java

Modified: commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl2/parser/JexlParser.java
URL: http://svn.apache.org/viewvc/commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl2/parser/JexlParser.java?rev=1207344&r1=1207343&r2=1207344&view=diff
==============================================================================
--- commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl2/parser/JexlParser.java
(original)
+++ commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl2/parser/JexlParser.java
Mon Nov 28 16:02:59 2011
@@ -37,7 +37,7 @@ public class JexlParser extends StringPa
      * <p>
      * This is used to allow parameters to be declared before parsing.
      * </p>
-     * @param registers the register map
+     * @param theFrame the register map
      */
     public void setFrame(JexlEngine.Scope theFrame) {
         frame = theFrame;
@@ -66,7 +66,7 @@ public class JexlParser extends StringPa
         if (frame != null) {
             Integer register = frame.getRegister(image);
             if (register != null) {
-                identifier.setRegister(register);
+                identifier.setRegister(register.intValue());
             }
         }
         return image;
@@ -85,7 +85,7 @@ public class JexlParser extends StringPa
             frame = new JexlEngine.Scope((String[])null);
         }
         Integer register = frame.declareVariable(image);
-        identifier.setRegister(register);
+        identifier.setRegister(register.intValue());
         identifier.image = image;
     }
 

Modified: commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl2/parser/ParseException.java
URL: http://svn.apache.org/viewvc/commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl2/parser/ParseException.java?rev=1207344&r1=1207343&r2=1207344&view=diff
==============================================================================
--- commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl2/parser/ParseException.java
(original)
+++ commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl2/parser/ParseException.java
Mon Nov 28 16:02:59 2011
@@ -67,7 +67,7 @@ public class ParseException extends Exce
      * in the generated parser.  Calling this constructor generates
      * a new object of this type with the fields "currentToken",
      * "expectedTokenSequences", and "tokenImage" set.
-     * @param cuurentToken This is the last token that has been consumed successfully.  If
+     * @param currentToken This is the last token that has been consumed successfully.  If
      * this object has been created due to a parse error, the token
      * followng this token will (therefore) be the first error token.
      * @param expectedTokenSequences Each entry in this array is an array of integers.  Each
array



Mime
View raw message