You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2011/11/28 17:03:00 UTC

svn commit: r1207344 - in /commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl2/parser: JexlParser.java ParseException.java

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