commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ra...@apache.org
Subject svn commit: r802291 - in /commons/proper/jexl/branches/2.0/src/main/java/org/apache/commons/jexl: JexlEngine.java JexlException.java UnifiedJEXL.java
Date Sat, 08 Aug 2009 03:23:40 GMT
Author: rahul
Date: Sat Aug  8 03:23:21 2009
New Revision: 802291

URL: http://svn.apache.org/viewvc?rev=802291&view=rev
Log:
Add serial version UIDs where missing.

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

Modified: commons/proper/jexl/branches/2.0/src/main/java/org/apache/commons/jexl/JexlEngine.java
URL: http://svn.apache.org/viewvc/commons/proper/jexl/branches/2.0/src/main/java/org/apache/commons/jexl/JexlEngine.java?rev=802291&r1=802290&r2=802291&view=diff
==============================================================================
--- commons/proper/jexl/branches/2.0/src/main/java/org/apache/commons/jexl/JexlEngine.java
(original)
+++ commons/proper/jexl/branches/2.0/src/main/java/org/apache/commons/jexl/JexlEngine.java
Sat Aug  8 03:23:21 2009
@@ -542,6 +542,8 @@
      */
     protected Map<String, JexlNode> createCache(final int cacheSize) {
         return new java.util.LinkedHashMap<String, JexlNode>(cacheSize, LOAD_FACTOR,
true) {
+            /** Serial version UID. */
+            private static final long serialVersionUID = 3801124242820219131L;
             @Override
             protected boolean removeEldestEntry(Map.Entry<String, JexlNode> eldest)
{
                 return size() > cacheSize;

Modified: commons/proper/jexl/branches/2.0/src/main/java/org/apache/commons/jexl/JexlException.java
URL: http://svn.apache.org/viewvc/commons/proper/jexl/branches/2.0/src/main/java/org/apache/commons/jexl/JexlException.java?rev=802291&r1=802290&r2=802291&view=diff
==============================================================================
--- commons/proper/jexl/branches/2.0/src/main/java/org/apache/commons/jexl/JexlException.java
(original)
+++ commons/proper/jexl/branches/2.0/src/main/java/org/apache/commons/jexl/JexlException.java
Sat Aug  8 03:23:21 2009
@@ -22,6 +22,8 @@
  * Wraps any error that might occur during interpretation of a script or expression.
  */
 public class JexlException extends RuntimeException {
+    /** Serial version UID. */
+    private static final long serialVersionUID = 2690666400232612395L;
     /** The point of origin for this exception. */
     protected JexlNode mark;
     /** A marker to use in NPEs stating a null operand error. */

Modified: commons/proper/jexl/branches/2.0/src/main/java/org/apache/commons/jexl/UnifiedJEXL.java
URL: http://svn.apache.org/viewvc/commons/proper/jexl/branches/2.0/src/main/java/org/apache/commons/jexl/UnifiedJEXL.java?rev=802291&r1=802290&r2=802291&view=diff
==============================================================================
--- commons/proper/jexl/branches/2.0/src/main/java/org/apache/commons/jexl/UnifiedJEXL.java
(original)
+++ commons/proper/jexl/branches/2.0/src/main/java/org/apache/commons/jexl/UnifiedJEXL.java
Sat Aug  8 03:23:21 2009
@@ -110,6 +110,8 @@
      */
     private static Map<String, Expression> createCache(final int cacheSize) {
         return new LinkedHashMap<String, Expression>(cacheSize, LOAD_FACTOR, true)
{
+            /** Serial version UID. */
+            private static final long serialVersionUID = -6515503595421899722L;
             @Override
             protected boolean removeEldestEntry(Map.Entry<String, Expression> eldest)
{
                 return size() > cacheSize;
@@ -215,6 +217,8 @@
      * The sole type of (runtime) exception the UnifiedJEXL can throw.
      */
     public static class Exception extends RuntimeException {
+        /** Serial version UID. */
+        private static final long serialVersionUID = -8201402995815975726L;
         /**
          * Creates a UnifiedJEXL.Exception.
          * @param msg the exception message



Mime
View raw message