commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r798627 - in /commons/proper/jexl/branches/2.0/src/java/org/apache/commons/jexl: JexlEngine.java UnifiedJEXL.java
Date Tue, 28 Jul 2009 18:06:33 GMT
Author: sebb
Date: Tue Jul 28 18:06:33 2009
New Revision: 798627

URL: http://svn.apache.org/viewvc?rev=798627&view=rev
Log:
Raw types; fix Javadoc

Modified:
    commons/proper/jexl/branches/2.0/src/java/org/apache/commons/jexl/JexlEngine.java
    commons/proper/jexl/branches/2.0/src/java/org/apache/commons/jexl/UnifiedJEXL.java

Modified: commons/proper/jexl/branches/2.0/src/java/org/apache/commons/jexl/JexlEngine.java
URL: http://svn.apache.org/viewvc/commons/proper/jexl/branches/2.0/src/java/org/apache/commons/jexl/JexlEngine.java?rev=798627&r1=798626&r2=798627&view=diff
==============================================================================
--- commons/proper/jexl/branches/2.0/src/java/org/apache/commons/jexl/JexlEngine.java (original)
+++ commons/proper/jexl/branches/2.0/src/java/org/apache/commons/jexl/JexlEngine.java Tue
Jul 28 18:06:33 2009
@@ -484,7 +484,7 @@
     protected Map<String, SimpleNode> createCache(final int cacheSize) {
         return new java.util.LinkedHashMap<String, SimpleNode>(cacheSize, LOAD_FACTOR,
true) {
             @Override
-            protected boolean removeEldestEntry(Map.Entry eldest) {
+            protected boolean removeEldestEntry(Map.Entry<String, SimpleNode> eldest)
{
                 return size() > cacheSize;
             }
         };

Modified: commons/proper/jexl/branches/2.0/src/java/org/apache/commons/jexl/UnifiedJEXL.java
URL: http://svn.apache.org/viewvc/commons/proper/jexl/branches/2.0/src/java/org/apache/commons/jexl/UnifiedJEXL.java?rev=798627&r1=798626&r2=798627&view=diff
==============================================================================
--- commons/proper/jexl/branches/2.0/src/java/org/apache/commons/jexl/UnifiedJEXL.java (original)
+++ commons/proper/jexl/branches/2.0/src/java/org/apache/commons/jexl/UnifiedJEXL.java Tue
Jul 28 18:06:33 2009
@@ -110,7 +110,7 @@
     private static Map<String, Expression> createCache(final int cacheSize) {
         return new LinkedHashMap<String, Expression>(cacheSize, LOAD_FACTOR, true)
{
             @Override
-            protected boolean removeEldestEntry(Map.Entry eldest) {
+            protected boolean removeEldestEntry(Map.Entry<String, Expression> eldest)
{
                 return size() > cacheSize;
             }
         };
@@ -228,7 +228,7 @@
      * The abstract base class for all expressions, immediate '${...}' and deferred '#{...}'.
      */
     public abstract class Expression {
-        /** The source of this expression ({@see Expression#prepare}. */
+        /** The source of this expression (see {@link Expression#prepare}) */
         protected final Expression source;
         /**
          * Creates an expression.
@@ -282,7 +282,7 @@
          * </p>
          * @param context the context to use for immediate expression evaluations
          * @return  an expression or null if an error occurs and the {@link JexlEngine} is
silent
-         * @throws {@link UnifiedJEXL.Exception} if an error occurs and the {@link JexlEngine}
is not silent
+         * @throws UnifiedJEXL.Exception if an error occurs and the {@link JexlEngine} is
not silent
          */
         public abstract Expression prepare(JexlContext context);
 
@@ -294,7 +294,7 @@
          * @param context the variable context
          * @return the result of this expression evaluation or null if an error occurs and
the {@link JexlEngine} is
          * silent
-         * @throws {@link UnifiedJEXL.Exception} if an error occurs and the {@link JexlEngine}
is not silent
+         * @throws UnifiedJEXL.Exception if an error occurs and the {@link JexlEngine} is
not silent
          */
         public abstract Object evaluate(JexlContext context);
 
@@ -687,7 +687,7 @@
      * </p>
      * @param expression the UnifiedJEXL string expression
      * @return the UnifiedJEXL object expression, null if silent and an error occured
-     * @throws {@link UnifiedJEXL.Exception} if an error occurs and the {@link JexlEngine}
is not silent
+     * @throws UnifiedJEXL.Exception if an error occurs and the {@link JexlEngine} is not
silent
      */
     public Expression parse(String expression) {
         try {



Mime
View raw message