commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t.@apache.org
Subject svn commit: r1606462 - in /commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/auxiliary/disk: ./ block/ indexed/ jdbc/ jdbc/mysql/
Date Sun, 29 Jun 2014 11:50:59 GMT
Author: tv
Date: Sun Jun 29 11:50:58 2014
New Revision: 1606462

URL: http://svn.apache.org/r1606462
Log:
Caches are no longer serializable

Modified:
    commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/auxiliary/disk/AbstractDiskCacheManager.java
    commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/auxiliary/disk/LRUMapJCS.java
    commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/auxiliary/disk/block/BlockDiskCache.java
    commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/auxiliary/disk/block/BlockDiskCacheManager.java
    commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/auxiliary/disk/block/BlockDiskKeyStore.java
    commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/auxiliary/disk/indexed/IndexedDiskCache.java
    commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/auxiliary/disk/indexed/IndexedDiskCacheManager.java
    commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/auxiliary/disk/jdbc/JDBCDiskCache.java
    commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/auxiliary/disk/jdbc/mysql/MySQLDiskCache.java

Modified: commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/auxiliary/disk/AbstractDiskCacheManager.java
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/auxiliary/disk/AbstractDiskCacheManager.java?rev=1606462&r1=1606461&r2=1606462&view=diff
==============================================================================
--- commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/auxiliary/disk/AbstractDiskCacheManager.java
(original)
+++ commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/auxiliary/disk/AbstractDiskCacheManager.java
Sun Jun 29 11:50:58 2014
@@ -27,9 +27,6 @@ import org.apache.commons.jcs.engine.log
 public abstract class AbstractDiskCacheManager
     implements AuxiliaryCacheManager
 {
-    /** Don't change.     */
-    private static final long serialVersionUID = 7562753543611662136L;
-
     /** The event logger. */
     private ICacheEventLogger cacheEventLogger;
 

Modified: commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/auxiliary/disk/LRUMapJCS.java
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/auxiliary/disk/LRUMapJCS.java?rev=1606462&r1=1606461&r2=1606462&view=diff
==============================================================================
--- commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/auxiliary/disk/LRUMapJCS.java
(original)
+++ commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/auxiliary/disk/LRUMapJCS.java
Sun Jun 29 11:50:58 2014
@@ -30,9 +30,6 @@ import org.apache.commons.logging.LogFac
 public class LRUMapJCS<K, V>
     extends LRUMap<K, V>
 {
-    /** Don't change */
-    private static final long serialVersionUID = 776964015449842672L;
-
     /** The logger */
     private static final Log log = LogFactory.getLog( LRUMapJCS.class );
 

Modified: commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/auxiliary/disk/block/BlockDiskCache.java
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/auxiliary/disk/block/BlockDiskCache.java?rev=1606462&r1=1606461&r2=1606462&view=diff
==============================================================================
--- commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/auxiliary/disk/block/BlockDiskCache.java
(original)
+++ commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/auxiliary/disk/block/BlockDiskCache.java
Sun Jun 29 11:50:58 2014
@@ -55,9 +55,6 @@ public class BlockDiskCache<K, V>
     extends AbstractDiskCache<K, V>
     implements IRequireScheduler
 {
-    /** Don't change */
-    private static final long serialVersionUID = 1L;
-
     /** The logger. */
     private static final Log log = LogFactory.getLog( BlockDiskCache.class );
 

Modified: commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/auxiliary/disk/block/BlockDiskCacheManager.java
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/auxiliary/disk/block/BlockDiskCacheManager.java?rev=1606462&r1=1606461&r2=1606462&view=diff
==============================================================================
--- commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/auxiliary/disk/block/BlockDiskCacheManager.java
(original)
+++ commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/auxiliary/disk/block/BlockDiskCacheManager.java
Sun Jun 29 11:50:58 2014
@@ -34,9 +34,6 @@ import java.util.concurrent.ConcurrentHa
 public class BlockDiskCacheManager
     extends AbstractDiskCacheManager
 {
-    /** Don't change */
-    private static final long serialVersionUID = -4153287154512274626L;
-
     /** The logger */
     private static final Log log = LogFactory.getLog( BlockDiskCacheManager.class );
 

Modified: commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/auxiliary/disk/block/BlockDiskKeyStore.java
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/auxiliary/disk/block/BlockDiskKeyStore.java?rev=1606462&r1=1606461&r2=1606462&view=diff
==============================================================================
--- commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/auxiliary/disk/block/BlockDiskKeyStore.java
(original)
+++ commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/auxiliary/disk/block/BlockDiskKeyStore.java
Sun Jun 29 11:50:58 2014
@@ -345,9 +345,6 @@ public class BlockDiskKeyStore<K>
     public class LRUMap
         extends LRUMapJCS<K, int[]>
     {
-        /** Don't change */
-        private static final long serialVersionUID = 4955079991472142198L;
-
         /**
          * <code>tag</code> tells us which map we are working on.
          */

Modified: commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/auxiliary/disk/indexed/IndexedDiskCache.java
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/auxiliary/disk/indexed/IndexedDiskCache.java?rev=1606462&r1=1606461&r2=1606462&view=diff
==============================================================================
--- commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/auxiliary/disk/indexed/IndexedDiskCache.java
(original)
+++ commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/auxiliary/disk/indexed/IndexedDiskCache.java
Sun Jun 29 11:50:58 2014
@@ -1648,9 +1648,6 @@ public class IndexedDiskCache<K, V>
         extends LRUMapJCS<K, IndexedDiskElementDescriptor>
         // implements Serializable
     {
-        /** Don't change */
-        private static final long serialVersionUID = 4955079991472142198L;
-
         /**
          * <code>tag</code> tells us which map we are working on.
          */

Modified: commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/auxiliary/disk/indexed/IndexedDiskCacheManager.java
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/auxiliary/disk/indexed/IndexedDiskCacheManager.java?rev=1606462&r1=1606461&r2=1606462&view=diff
==============================================================================
--- commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/auxiliary/disk/indexed/IndexedDiskCacheManager.java
(original)
+++ commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/auxiliary/disk/indexed/IndexedDiskCacheManager.java
Sun Jun 29 11:50:58 2014
@@ -34,9 +34,6 @@ import java.util.concurrent.ConcurrentHa
 public class IndexedDiskCacheManager
     extends AbstractDiskCacheManager
 {
-    /** Don't change */
-    private static final long serialVersionUID = -4153287154512274626L;
-
     /** The logger */
     private static final Log log = LogFactory.getLog( IndexedDiskCacheManager.class );
 

Modified: commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/auxiliary/disk/jdbc/JDBCDiskCache.java
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/auxiliary/disk/jdbc/JDBCDiskCache.java?rev=1606462&r1=1606461&r2=1606462&view=diff
==============================================================================
--- commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/auxiliary/disk/jdbc/JDBCDiskCache.java
(original)
+++ commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/auxiliary/disk/jdbc/JDBCDiskCache.java
Sun Jun 29 11:50:58 2014
@@ -82,9 +82,6 @@ public class JDBCDiskCache<K, V>
     /** The local logger. */
     private static final Log log = LogFactory.getLog( JDBCDiskCache.class );
 
-    /** Don't change. */
-    private static final long serialVersionUID = -7169488308515823492L;
-
     /** custom serialization */
     private IElementSerializer elementSerializer = new StandardSerializer();
 

Modified: commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/auxiliary/disk/jdbc/mysql/MySQLDiskCache.java
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/auxiliary/disk/jdbc/mysql/MySQLDiskCache.java?rev=1606462&r1=1606461&r2=1606462&view=diff
==============================================================================
--- commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/auxiliary/disk/jdbc/mysql/MySQLDiskCache.java
(original)
+++ commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/auxiliary/disk/jdbc/mysql/MySQLDiskCache.java
Sun Jun 29 11:50:58 2014
@@ -19,7 +19,6 @@ package org.apache.commons.jcs.auxiliary
  * under the License.
  */
 
-import java.io.Serializable;
 import java.sql.SQLException;
 import java.util.Map;
 
@@ -30,8 +29,6 @@ import org.apache.commons.jcs.engine.beh
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 
-import java.util.Map;
-
 /**
  * The MySQLDiskCache extends the core JDBCDiskCache.
  * <p>
@@ -43,9 +40,6 @@ import java.util.Map;
 public class MySQLDiskCache<K, V>
 	extends JDBCDiskCache<K, V>
 {
-    /** don't change */
-    private static final long serialVersionUID = -7169488308515823491L;
-
     /** local logger */
     private static final Log log = LogFactory.getLog( MySQLDiskCache.class );
 



Mime
View raw message