commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t.@apache.org
Subject svn commit: r1715349 - /commons/proper/jcs/trunk/commons-jcs-core/src/test/java/org/apache/commons/jcs/engine/control/CompositeCacheDiskUsageUnitTest.java
Date Fri, 20 Nov 2015 13:18:39 GMT
Author: tv
Date: Fri Nov 20 13:18:39 2015
New Revision: 1715349

URL: http://svn.apache.org/viewvc?rev=1715349&view=rev
Log:
No longer serializable

Modified:
    commons/proper/jcs/trunk/commons-jcs-core/src/test/java/org/apache/commons/jcs/engine/control/CompositeCacheDiskUsageUnitTest.java

Modified: commons/proper/jcs/trunk/commons-jcs-core/src/test/java/org/apache/commons/jcs/engine/control/CompositeCacheDiskUsageUnitTest.java
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/commons-jcs-core/src/test/java/org/apache/commons/jcs/engine/control/CompositeCacheDiskUsageUnitTest.java?rev=1715349&r1=1715348&r2=1715349&view=diff
==============================================================================
--- commons/proper/jcs/trunk/commons-jcs-core/src/test/java/org/apache/commons/jcs/engine/control/CompositeCacheDiskUsageUnitTest.java
(original)
+++ commons/proper/jcs/trunk/commons-jcs-core/src/test/java/org/apache/commons/jcs/engine/control/CompositeCacheDiskUsageUnitTest.java
Fri Nov 20 13:18:39 2015
@@ -19,7 +19,15 @@ package org.apache.commons.jcs.engine.co
  * under the License.
  */
 
+import java.io.IOException;
+import java.io.Serializable;
+import java.util.Collections;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Set;
+
 import junit.framework.TestCase;
+
 import org.apache.commons.jcs.JCS;
 import org.apache.commons.jcs.access.CacheAccess;
 import org.apache.commons.jcs.access.exception.CacheException;
@@ -38,13 +46,6 @@ import org.apache.commons.jcs.engine.beh
 import org.apache.commons.jcs.engine.logging.behavior.ICacheEventLogger;
 import org.apache.commons.jcs.engine.stats.behavior.IStats;
 
-import java.io.IOException;
-import java.io.Serializable;
-import java.util.Collections;
-import java.util.HashMap;
-import java.util.Map;
-import java.util.Set;
-
 /**
  * Tests of the disk usage settings for the CompositeCache.
  * <p>
@@ -316,9 +317,6 @@ public class CompositeCacheDiskUsageUnit
     public static class MockAuxCache<K extends Serializable, V extends Serializable>
         extends AbstractAuxiliaryCache<K, V>
     {
-        /** Don't change */
-        private static final long serialVersionUID = 1L;
-
         /** The last item passed to update. */
         public ICacheElement<K, V> lastUpdatedItem;
 



Mime
View raw message