Author: scolebourne
Date: Tue Nov 22 15:51:45 2005
New Revision: 348299
URL: http://svn.apache.org/viewcvs?rev=348299&view=rev
Log:
Make serialization version ids private
bug 37106, from Sebb
Modified:
jakarta/commons/proper/collections/trunk/RELEASE-NOTES.html
jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/bag/HashBag.java
jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/bag/TreeBag.java
jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/list/NodeCachingLinkedList.java
jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/map/LRUMap.java
Modified: jakarta/commons/proper/collections/trunk/RELEASE-NOTES.html
URL:
http://svn.apache.org/viewcvs/jakarta/commons/proper/collections/trunk/RELEASE-NOTES.html?rev=348299&r1=348298&r2=348299&view=diff
==============================================================================
--- jakarta/commons/proper/collections/trunk/RELEASE-NOTES.html (original)
+++ jakarta/commons/proper/collections/trunk/RELEASE-NOTES.html Tue Nov 22
15:51:45 2005
@@ -103,6 +103,7 @@
<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>
Modified:
jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/bag/HashBag.java
URL:
http://svn.apache.org/viewcvs/jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/bag/HashBag.java?rev=348299&r1=348298&r2=348299&view=diff
==============================================================================
---
jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/bag/HashBag.java
(original)
+++
jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/bag/HashBag.java
Tue Nov 22 15:51:45 2005
@@ -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 @@
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>.
Modified:
jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/bag/TreeBag.java
URL:
http://svn.apache.org/viewcvs/jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/bag/TreeBag.java?rev=348299&r1=348298&r2=348299&view=diff
==============================================================================
---
jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/bag/TreeBag.java
(original)
+++
jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/bag/TreeBag.java
Tue Nov 22 15:51:45 2005
@@ -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 @@
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>.
Modified:
jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/list/NodeCachingLinkedList.java
URL:
http://svn.apache.org/viewcvs/jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/list/NodeCachingLinkedList.java?rev=348299&r1=348298&r2=348299&view=diff
==============================================================================
---
jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/list/NodeCachingLinkedList.java
(original)
+++
jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/list/NodeCachingLinkedList.java
Tue Nov 22 15:51:45 2005
@@ -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 @@
public class NodeCachingLinkedList extends AbstractLinkedList implements
Serializable {
/** Serialization version */
- static final long serialVersionUID = 6897789178562232073L;
+ private static final long serialVersionUID = 6897789178562232073L;
/**
* The default value for [EMAIL PROTECTED] #maximumCacheSize}.
Modified:
jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/map/LRUMap.java
URL:
http://svn.apache.org/viewcvs/jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/map/LRUMap.java?rev=348299&r1=348298&r2=348299&view=diff
==============================================================================
---
jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/map/LRUMap.java
(original)
+++
jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/map/LRUMap.java
Tue Nov 22 15:51:45 2005
@@ -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 @@
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;
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]