Add missing private static final long serialVersionUID.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1457872 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e230b2d40e
commit
24e0cf268b
|
@ -326,6 +326,10 @@ public abstract class AbstractDualBidiMap<K, V> implements BidiMap<K, V> {
|
||||||
@SuppressWarnings("serial")
|
@SuppressWarnings("serial")
|
||||||
protected static abstract class View<K, V, E> extends AbstractCollectionDecorator<E> {
|
protected static abstract class View<K, V, E> extends AbstractCollectionDecorator<E> {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Generated serial version ID.
|
||||||
|
*/
|
||||||
|
private static final long serialVersionUID = 4621510560119690639L;
|
||||||
/** The parent map */
|
/** The parent map */
|
||||||
protected final AbstractDualBidiMap<K, V> parent;
|
protected final AbstractDualBidiMap<K, V> parent;
|
||||||
|
|
||||||
|
|
|
@ -109,6 +109,10 @@ abstract class AbstractInputCheckedMapDecorator<K, V>
|
||||||
@SuppressWarnings("serial")
|
@SuppressWarnings("serial")
|
||||||
private class EntrySet extends AbstractSetDecorator<Map.Entry<K, V>> {
|
private class EntrySet extends AbstractSetDecorator<Map.Entry<K, V>> {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Generated serial version ID.
|
||||||
|
*/
|
||||||
|
private static final long serialVersionUID = 4354731610923110264L;
|
||||||
/** The parent map */
|
/** The parent map */
|
||||||
private final AbstractInputCheckedMapDecorator<K, V> parent;
|
private final AbstractInputCheckedMapDecorator<K, V> parent;
|
||||||
|
|
||||||
|
|
|
@ -218,6 +218,10 @@ public class FactoryUtilsTest extends junit.framework.TestCase {
|
||||||
|
|
||||||
@SuppressWarnings("serial")
|
@SuppressWarnings("serial")
|
||||||
public static class Mock2 implements Serializable {
|
public static class Mock2 implements Serializable {
|
||||||
|
/**
|
||||||
|
* Generated serial version ID.
|
||||||
|
*/
|
||||||
|
private static final long serialVersionUID = 4899282162482588924L;
|
||||||
private final Object iVal;
|
private final Object iVal;
|
||||||
public Mock2(final Object val) {
|
public Mock2(final Object val) {
|
||||||
iVal = val;
|
iVal = val;
|
||||||
|
|
|
@ -529,6 +529,11 @@ public class BlockingBufferTest<E> extends AbstractObjectTest {
|
||||||
@SuppressWarnings("serial")
|
@SuppressWarnings("serial")
|
||||||
protected static class MyBuffer<E> extends LinkedList<E> implements Buffer<E> {
|
protected static class MyBuffer<E> extends LinkedList<E> implements Buffer<E> {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Generated serial version ID.
|
||||||
|
*/
|
||||||
|
private static final long serialVersionUID = -1772433262105175184L;
|
||||||
|
|
||||||
public E get() {
|
public E get() {
|
||||||
if (isEmpty()) {
|
if (isEmpty()) {
|
||||||
throw new BufferUnderflowException();
|
throw new BufferUnderflowException();
|
||||||
|
|
|
@ -131,6 +131,10 @@ public class ComparatorChainTest extends AbstractComparatorTest<ComparatorChainT
|
||||||
@SuppressWarnings("serial")
|
@SuppressWarnings("serial")
|
||||||
public static class PseudoRow implements Serializable {
|
public static class PseudoRow implements Serializable {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Generated serial version ID.
|
||||||
|
*/
|
||||||
|
private static final long serialVersionUID = 8085570439751032499L;
|
||||||
public int cols[] = new int[3];
|
public int cols[] = new int[3];
|
||||||
|
|
||||||
public PseudoRow(final int col1, final int col2, final int col3) {
|
public PseudoRow(final int col1, final int col2, final int col3) {
|
||||||
|
|
|
@ -616,6 +616,11 @@ public class SetUniqueListTest<E> extends AbstractListTest<E> {
|
||||||
|
|
||||||
@SuppressWarnings("serial")
|
@SuppressWarnings("serial")
|
||||||
class SetUniqueList307 extends SetUniqueList<E> {
|
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) {
|
public SetUniqueList307(final List<E> list, final Set<E> set) {
|
||||||
super(list, set);
|
super(list, set);
|
||||||
}
|
}
|
||||||
|
|
|
@ -253,6 +253,10 @@ public class LRUMapTest<K, V> extends AbstractOrderedMapTest<K, V> {
|
||||||
|
|
||||||
@SuppressWarnings("serial")
|
@SuppressWarnings("serial")
|
||||||
static class MockLRUMapSubclass<K, V> extends LRUMap<K, V> {
|
static class MockLRUMapSubclass<K, V> extends LRUMap<K, V> {
|
||||||
|
/**
|
||||||
|
* Generated serial version ID.
|
||||||
|
*/
|
||||||
|
private static final long serialVersionUID = -2126883654452042477L;
|
||||||
LinkEntry<K, V> entry;
|
LinkEntry<K, V> entry;
|
||||||
K key;
|
K key;
|
||||||
V value;
|
V value;
|
||||||
|
@ -304,6 +308,11 @@ public class LRUMapTest<K, V> extends AbstractOrderedMapTest<K, V> {
|
||||||
|
|
||||||
@SuppressWarnings("serial")
|
@SuppressWarnings("serial")
|
||||||
static class MockLRUMapSubclassBlocksRemove<K, V> extends LRUMap<K, V> {
|
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) {
|
MockLRUMapSubclassBlocksRemove(final int size, final boolean scanUntilRemove) {
|
||||||
super(size, scanUntilRemove);
|
super(size, scanUntilRemove);
|
||||||
}
|
}
|
||||||
|
@ -332,6 +341,11 @@ public class LRUMapTest<K, V> extends AbstractOrderedMapTest<K, V> {
|
||||||
|
|
||||||
@SuppressWarnings("serial")
|
@SuppressWarnings("serial")
|
||||||
static class MockLRUMapSubclassFirstBlocksRemove<K, V> extends LRUMap<K, V> {
|
static class MockLRUMapSubclassFirstBlocksRemove<K, V> extends LRUMap<K, V> {
|
||||||
|
/**
|
||||||
|
* Generated serial version ID.
|
||||||
|
*/
|
||||||
|
private static final long serialVersionUID = -6939790801702973428L;
|
||||||
|
|
||||||
MockLRUMapSubclassFirstBlocksRemove(final int size) {
|
MockLRUMapSubclassFirstBlocksRemove(final int size) {
|
||||||
super(size, true);
|
super(size, true);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue