Use generated rather than dummy serialVersionUIDs

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1023461 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sebastian Bazley 2010-10-17 11:26:38 +00:00
parent 6cfa5daebc
commit aa048da715
7 changed files with 9 additions and 9 deletions

View File

@ -149,7 +149,7 @@ import java.util.Vector;
*/ */
public class ExtendedProperties extends Hashtable { public class ExtendedProperties extends Hashtable {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = -4064305575636043822L;
/** /**
* Default configurations repository. * Default configurations repository.

View File

@ -46,7 +46,7 @@ import org.apache.commons.collections.list.UnmodifiableList;
public class CompositeCollection<E> implements Collection<E>, Serializable { public class CompositeCollection<E> implements Collection<E>, Serializable {
/** Serialization version */ /** Serialization version */
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 8417515734108306801L;
/** CollectionMutator to handle changes to the collection */ /** CollectionMutator to handle changes to the collection */
protected CollectionMutator<E> mutator; protected CollectionMutator<E> mutator;

View File

@ -80,11 +80,11 @@ import org.apache.commons.collections.Predicate;
*/ */
public class ComparatorPredicate<T> implements Predicate<T>, Serializable { public class ComparatorPredicate<T> implements Predicate<T>, Serializable {
private static final long serialVersionUID = -1863209236504077399L;
public enum Criterion { public enum Criterion {
EQUAL, GREATER, LESS, GREATER_OR_EQUAL, LESS_OR_EQUAL, EQUAL, GREATER, LESS, GREATER_OR_EQUAL, LESS_OR_EQUAL,
}; }
private static final long serialVersionUID = 1L;
// Instance variables: // Instance variables:

View File

@ -38,7 +38,7 @@ import org.apache.commons.collections.collection.CompositeCollection;
public class CompositeSet<E> extends CompositeCollection<E> implements Set<E> { public class CompositeSet<E> extends CompositeCollection<E> implements Set<E> {
/** Serialization version */ /** Serialization version */
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 5185069727540378940L;
/** /**
* Create an empty CompositeSet * Create an empty CompositeSet

View File

@ -218,7 +218,7 @@ public class TestMultiKey extends TestCase {
static class SystemHashCodeSimulatingKey implements Serializable { static class SystemHashCodeSimulatingKey implements Serializable {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = -1736147315703444603L;
private final String name; private final String name;
private int hashCode = 1; private int hashCode = 1;

View File

@ -26,7 +26,7 @@ import java.util.Collection;
*/ */
class EmptyMapMutator implements CompositeMap.MapMutator { class EmptyMapMutator implements CompositeMap.MapMutator {
/** Serialization version */ /** Serialization version */
private static final long serialVersionUID = 1L; private static final long serialVersionUID = -2729718980002476794L;
public void resolveCollision(CompositeMap composite, public void resolveCollision(CompositeMap composite,
Map existing, Map existing,

View File

@ -30,7 +30,7 @@ import org.apache.commons.collections.collection.CompositeCollection;
class EmptySetMutator<E> implements CompositeSet.SetMutator<E> { class EmptySetMutator<E> implements CompositeSet.SetMutator<E> {
/** Serialization version */ /** Serialization version */
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 5321193666420238910L;
private Set<E> contained; private Set<E> contained;