Make serialization version ids private
bug 37106, from Sebb git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@348299 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
33bc85197d
commit
28631ec8ad
|
@ -103,6 +103,7 @@ If this causes major headaches to anyone please contact commons-dev at jakarta.a
|
|||
<li>IteratorChain.remove() - Fix to avoid IllegalStateException when one of the underlying iterators is a FilterIterator [34267]</li>
|
||||
<li>ExtendedProperties.convertProperties() - Fix to handle default properties maps correctly [32204]</li>
|
||||
<li>Add casts to avoid some JDK1.5 compilation warnings [35474]</li>
|
||||
<li>Make serialization version ids private [37106]</li>
|
||||
</ul>
|
||||
|
||||
<center><h3>JAVADOC</h3></center>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright 2002-2004 The Apache Software Foundation
|
||||
* Copyright 2002-2005 The Apache Software Foundation
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -44,7 +44,7 @@ public class HashBag
|
|||
extends AbstractMapBag implements Bag, Serializable {
|
||||
|
||||
/** Serial version lock */
|
||||
static final long serialVersionUID = -6561115435802554013L;
|
||||
private static final long serialVersionUID = -6561115435802554013L;
|
||||
|
||||
/**
|
||||
* Constructs an empty <code>HashBag</code>.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright 2002-2004 The Apache Software Foundation
|
||||
* Copyright 2002-2005 The Apache Software Foundation
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -49,7 +49,7 @@ public class TreeBag
|
|||
extends AbstractMapBag implements SortedBag, Serializable {
|
||||
|
||||
/** Serial version lock */
|
||||
static final long serialVersionUID = -7740146511091606676L;
|
||||
private static final long serialVersionUID = -7740146511091606676L;
|
||||
|
||||
/**
|
||||
* Constructs an empty <code>TreeBag</code>.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright 2001-2004 The Apache Software Foundation
|
||||
* Copyright 2001-2005 The Apache Software Foundation
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -46,7 +46,7 @@ import java.util.Collection;
|
|||
public class NodeCachingLinkedList extends AbstractLinkedList implements Serializable {
|
||||
|
||||
/** Serialization version */
|
||||
static final long serialVersionUID = 6897789178562232073L;
|
||||
private static final long serialVersionUID = 6897789178562232073L;
|
||||
|
||||
/**
|
||||
* The default value for {@link #maximumCacheSize}.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright 2001-2004 The Apache Software Foundation
|
||||
* Copyright 2001-2005 The Apache Software Foundation
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -59,7 +59,7 @@ public class LRUMap
|
|||
extends AbstractLinkedMap implements BoundedMap, Serializable, Cloneable {
|
||||
|
||||
/** Serialisation version */
|
||||
static final long serialVersionUID = -612114643488955218L;
|
||||
private static final long serialVersionUID = -612114643488955218L;
|
||||
/** Default maximum size */
|
||||
protected static final int DEFAULT_MAX_SIZE = 100;
|
||||
|
||||
|
|
Loading…
Reference in New Issue