commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1457872 - in /commons/proper/collections/trunk/src: main/java/org/apache/commons/collections/bidimap/ main/java/org/apache/commons/collections/map/ test/java/org/apache/commons/collections/ test/java/org/apache/commons/collections/buffer/ ...
Date Mon, 18 Mar 2013 17:14:02 GMT
Author: ggregory
Date: Mon Mar 18 17:14:01 2013
New Revision: 1457872

URL: http://svn.apache.org/r1457872
Log:
Add missing private static final long serialVersionUID.

Modified:
    commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/bidimap/AbstractDualBidiMap.java
    commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/map/AbstractInputCheckedMapDecorator.java
    commons/proper/collections/trunk/src/test/java/org/apache/commons/collections/FactoryUtilsTest.java
    commons/proper/collections/trunk/src/test/java/org/apache/commons/collections/buffer/BlockingBufferTest.java
    commons/proper/collections/trunk/src/test/java/org/apache/commons/collections/comparators/ComparatorChainTest.java
    commons/proper/collections/trunk/src/test/java/org/apache/commons/collections/list/SetUniqueListTest.java
    commons/proper/collections/trunk/src/test/java/org/apache/commons/collections/map/LRUMapTest.java

Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/bidimap/AbstractDualBidiMap.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/bidimap/AbstractDualBidiMap.java?rev=1457872&r1=1457871&r2=1457872&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/bidimap/AbstractDualBidiMap.java
(original)
+++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/bidimap/AbstractDualBidiMap.java
Mon Mar 18 17:14:01 2013
@@ -326,6 +326,10 @@ public abstract class AbstractDualBidiMa
     @SuppressWarnings("serial")
     protected static abstract class View<K, V, E> extends AbstractCollectionDecorator<E>
{
 
+        /**
+         * Generated serial version ID.
+         */
+        private static final long serialVersionUID = 4621510560119690639L;
         /** The parent map */
         protected final AbstractDualBidiMap<K, V> parent;
 

Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/map/AbstractInputCheckedMapDecorator.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/map/AbstractInputCheckedMapDecorator.java?rev=1457872&r1=1457871&r2=1457872&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/map/AbstractInputCheckedMapDecorator.java
(original)
+++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/map/AbstractInputCheckedMapDecorator.java
Mon Mar 18 17:14:01 2013
@@ -109,6 +109,10 @@ abstract class AbstractInputCheckedMapDe
     @SuppressWarnings("serial")
     private class EntrySet extends AbstractSetDecorator<Map.Entry<K, V>> {
         
+        /**
+         * Generated serial version ID.
+         */
+        private static final long serialVersionUID = 4354731610923110264L;
         /** The parent map */
         private final AbstractInputCheckedMapDecorator<K, V> parent;
 

Modified: commons/proper/collections/trunk/src/test/java/org/apache/commons/collections/FactoryUtilsTest.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/test/java/org/apache/commons/collections/FactoryUtilsTest.java?rev=1457872&r1=1457871&r2=1457872&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/test/java/org/apache/commons/collections/FactoryUtilsTest.java
(original)
+++ commons/proper/collections/trunk/src/test/java/org/apache/commons/collections/FactoryUtilsTest.java
Mon Mar 18 17:14:01 2013
@@ -218,6 +218,10 @@ public class FactoryUtilsTest extends ju
 
     @SuppressWarnings("serial")
     public static class Mock2 implements Serializable {
+        /**
+         * Generated serial version ID.
+         */
+        private static final long serialVersionUID = 4899282162482588924L;
         private final Object iVal;
         public Mock2(final Object val) {
             iVal = val;

Modified: commons/proper/collections/trunk/src/test/java/org/apache/commons/collections/buffer/BlockingBufferTest.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/test/java/org/apache/commons/collections/buffer/BlockingBufferTest.java?rev=1457872&r1=1457871&r2=1457872&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/test/java/org/apache/commons/collections/buffer/BlockingBufferTest.java
(original)
+++ commons/proper/collections/trunk/src/test/java/org/apache/commons/collections/buffer/BlockingBufferTest.java
Mon Mar 18 17:14:01 2013
@@ -529,6 +529,11 @@ public class BlockingBufferTest<E> exten
     @SuppressWarnings("serial")
     protected static class MyBuffer<E> extends LinkedList<E> implements Buffer<E>
{
 
+        /**
+         * Generated serial version ID.
+         */
+        private static final long serialVersionUID = -1772433262105175184L;
+
         public E get() {
             if (isEmpty()) {
                 throw new BufferUnderflowException();

Modified: commons/proper/collections/trunk/src/test/java/org/apache/commons/collections/comparators/ComparatorChainTest.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/test/java/org/apache/commons/collections/comparators/ComparatorChainTest.java?rev=1457872&r1=1457871&r2=1457872&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/test/java/org/apache/commons/collections/comparators/ComparatorChainTest.java
(original)
+++ commons/proper/collections/trunk/src/test/java/org/apache/commons/collections/comparators/ComparatorChainTest.java
Mon Mar 18 17:14:01 2013
@@ -131,6 +131,10 @@ public class ComparatorChainTest extends
     @SuppressWarnings("serial")
     public static class PseudoRow implements Serializable {
 
+        /**
+         * Generated serial version ID.
+         */
+        private static final long serialVersionUID = 8085570439751032499L;
         public int cols[] = new int[3];
 
         public PseudoRow(final int col1, final int col2, final int col3) {

Modified: commons/proper/collections/trunk/src/test/java/org/apache/commons/collections/list/SetUniqueListTest.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/test/java/org/apache/commons/collections/list/SetUniqueListTest.java?rev=1457872&r1=1457871&r2=1457872&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/test/java/org/apache/commons/collections/list/SetUniqueListTest.java
(original)
+++ commons/proper/collections/trunk/src/test/java/org/apache/commons/collections/list/SetUniqueListTest.java
Mon Mar 18 17:14:01 2013
@@ -616,6 +616,11 @@ public class SetUniqueListTest<E> extend
 
     @SuppressWarnings("serial")
     class SetUniqueList307 extends SetUniqueList<E> {
+        /**
+         * Generated serial version ID.
+         */
+        private static final long serialVersionUID = 1415013031022962158L;
+
         public SetUniqueList307(final List<E> list, final Set<E> set) {
             super(list, set);
         }

Modified: commons/proper/collections/trunk/src/test/java/org/apache/commons/collections/map/LRUMapTest.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/test/java/org/apache/commons/collections/map/LRUMapTest.java?rev=1457872&r1=1457871&r2=1457872&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/test/java/org/apache/commons/collections/map/LRUMapTest.java
(original)
+++ commons/proper/collections/trunk/src/test/java/org/apache/commons/collections/map/LRUMapTest.java
Mon Mar 18 17:14:01 2013
@@ -253,6 +253,10 @@ public class LRUMapTest<K, V> extends Ab
 
     @SuppressWarnings("serial")
     static class MockLRUMapSubclass<K, V> extends LRUMap<K, V> {
+        /**
+         * Generated serial version ID.
+         */
+        private static final long serialVersionUID = -2126883654452042477L;
         LinkEntry<K, V> entry;
         K key;
         V value;
@@ -304,6 +308,11 @@ public class LRUMapTest<K, V> extends Ab
 
     @SuppressWarnings("serial")
     static class MockLRUMapSubclassBlocksRemove<K, V> extends LRUMap<K, V> {
+        /**
+         * Generated serial version ID.
+         */
+        private static final long serialVersionUID = 6278917461128992945L;
+
         MockLRUMapSubclassBlocksRemove(final int size, final boolean scanUntilRemove) {
             super(size, scanUntilRemove);
         }
@@ -332,6 +341,11 @@ public class LRUMapTest<K, V> extends Ab
 
     @SuppressWarnings("serial")
     static class MockLRUMapSubclassFirstBlocksRemove<K, V> extends LRUMap<K, V>
{
+        /**
+         * Generated serial version ID.
+         */
+        private static final long serialVersionUID = -6939790801702973428L;
+
         MockLRUMapSubclassFirstBlocksRemove(final int size) {
             super(size, true);
         }



Mime
View raw message