bloritsch 2002/10/07 20:15:51
Modified: collections/src/java/org/apache/avalon/excalibur/collections
ArrayEnumeration.java ArrayStack.java
BinaryHeap.java BucketMap.java Buffer.java
BufferOverflowException.java
BufferUnderflowException.java FixedSizeBuffer.java
IteratorEnumeration.java ListUtils.java
PriorityQueue.java SynchronizedPriorityQueue.java
VariableSizeBuffer.java package.html
Log:
deprecate all the old classes in favor of the commons ones
Revision Changes Path
1.6 +3 -1
jakarta-avalon-excalibur/collections/src/java/org/apache/avalon/excalibur/collections/ArrayEnumeration.java
Index: ArrayEnumeration.java
===================================================================
RCS file:
/home/cvs/jakarta-avalon-excalibur/collections/src/java/org/apache/avalon/excalibur/collections/ArrayEnumeration.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- ArrayEnumeration.java 16 Mar 2002 00:05:39 -0000 1.5
+++ ArrayEnumeration.java 8 Oct 2002 03:15:50 -0000 1.6
@@ -14,6 +14,8 @@
/**
* Enumeration wrapper for array.
*
+ * @deprecated use org.apache.commons.collections.ArrayEnumeration instead
+ *
* @author <a href="mailto:[EMAIL PROTECTED]">Peter Donald</a>
* @version CVS $Revision$ $Date$
* @since 4.0
1.7 +3 -1
jakarta-avalon-excalibur/collections/src/java/org/apache/avalon/excalibur/collections/ArrayStack.java
Index: ArrayStack.java
===================================================================
RCS file:
/home/cvs/jakarta-avalon-excalibur/collections/src/java/org/apache/avalon/excalibur/collections/ArrayStack.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- ArrayStack.java 10 May 2002 02:51:13 -0000 1.6
+++ ArrayStack.java 8 Oct 2002 03:15:50 -0000 1.7
@@ -13,6 +13,8 @@
/**
* Unsynchronized stack.
*
+ * @deprecated use org.apache.commons.collections.ArrayStack instead;
+ *
* @author <a href="mailto:[EMAIL PROTECTED]">Peter Donald</a>
* @version CVS $Revision$ $Date$
* @since 4.0
1.11 +3 -1
jakarta-avalon-excalibur/collections/src/java/org/apache/avalon/excalibur/collections/BinaryHeap.java
Index: BinaryHeap.java
===================================================================
RCS file:
/home/cvs/jakarta-avalon-excalibur/collections/src/java/org/apache/avalon/excalibur/collections/BinaryHeap.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- BinaryHeap.java 10 May 2002 02:51:13 -0000 1.10
+++ BinaryHeap.java 8 Oct 2002 03:15:50 -0000 1.11
@@ -15,6 +15,8 @@
* The heap is either a minimum or maximum heap as determined
* by parameters passed to constructor.
*
+ * @deprecated use org.apache.commons.collections.BinaryHeap instead;
+ *
* @author <a href="mailto:[EMAIL PROTECTED]">Peter Donald</a>
* @author <a href="mailto:[EMAIL PROTECTED]">Ram Chidambaram</a>
* @author <a href="mailto:[EMAIL PROTECTED]">Chad Stansbury</a>
1.23 +3 -1
jakarta-avalon-excalibur/collections/src/java/org/apache/avalon/excalibur/collections/BucketMap.java
Index: BucketMap.java
===================================================================
RCS file:
/home/cvs/jakarta-avalon-excalibur/collections/src/java/org/apache/avalon/excalibur/collections/BucketMap.java,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- BucketMap.java 27 Jun 2002 16:10:49 -0000 1.22
+++ BucketMap.java 8 Oct 2002 03:15:50 -0000 1.23
@@ -20,6 +20,8 @@
* The other methods are supported, but are ver inneficient compared to
* other <code>java.util.Map</code> implementations.
*
+ * @deprecated use org.apache.commons.collections.StaticBucketMap instead
+ *
* @author <a href="[EMAIL PROTECTED]">Berin Loritsch</a>
* @author <a href="[EMAIL PROTECTED]">Gerhard Froehlich</a>
* @version CVS $Revision$ $Date$
1.2 +3 -1
jakarta-avalon-excalibur/collections/src/java/org/apache/avalon/excalibur/collections/Buffer.java
Index: Buffer.java
===================================================================
RCS file:
/home/cvs/jakarta-avalon-excalibur/collections/src/java/org/apache/avalon/excalibur/collections/Buffer.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- Buffer.java 21 Dec 2001 13:43:57 -0000 1.1
+++ Buffer.java 8 Oct 2002 03:15:50 -0000 1.2
@@ -13,6 +13,8 @@
* buffer. It is useful in both pooling and queue implementation code among
* other things.
*
+ * @deprecated use org.apache.commons.collections.Buffer instead
+ *
* @author <a href="[EMAIL PROTECTED]">Berin Loritsch</a>
* @version CVS $Revision$ $Date$
* @since 4.0
1.4 +2 -0
jakarta-avalon-excalibur/collections/src/java/org/apache/avalon/excalibur/collections/BufferOverflowException.java
Index: BufferOverflowException.java
===================================================================
RCS file:
/home/cvs/jakarta-avalon-excalibur/collections/src/java/org/apache/avalon/excalibur/collections/BufferOverflowException.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- BufferOverflowException.java 13 May 2002 12:23:50 -0000 1.3
+++ BufferOverflowException.java 8 Oct 2002 03:15:50 -0000 1.4
@@ -11,6 +11,8 @@
* The BufferOverflowException is used when the buffer's capacity has been
* exceeded.
*
+ * @deprecated use org.apache.commons.collections.BufferOverflowException instead
+ *
* @author <a href="mailto:[EMAIL PROTECTED]">Berin Loritsch</a>
* @author <a href="mailto:[EMAIL PROTECTED]">Jeff Turner</a>
*/
1.4 +2 -0
jakarta-avalon-excalibur/collections/src/java/org/apache/avalon/excalibur/collections/BufferUnderflowException.java
Index: BufferUnderflowException.java
===================================================================
RCS file:
/home/cvs/jakarta-avalon-excalibur/collections/src/java/org/apache/avalon/excalibur/collections/BufferUnderflowException.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- BufferUnderflowException.java 13 May 2002 12:23:50 -0000 1.3
+++ BufferUnderflowException.java 8 Oct 2002 03:15:50 -0000 1.4
@@ -10,6 +10,8 @@
/**
* The BufferUnderflowException is used when the buffer is already empty
*
+ * @deprecated use org.apache.commons.collections.BufferUnderflowException instead
+ *
* @author <a href="mailto:[EMAIL PROTECTED]">Berin Loritsch</a>
* @author <a href="mailto:[EMAIL PROTECTED]">Jeff Turner</a>
*/
1.4 +2 -0
jakarta-avalon-excalibur/collections/src/java/org/apache/avalon/excalibur/collections/FixedSizeBuffer.java
Index: FixedSizeBuffer.java
===================================================================
RCS file:
/home/cvs/jakarta-avalon-excalibur/collections/src/java/org/apache/avalon/excalibur/collections/FixedSizeBuffer.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- FixedSizeBuffer.java 16 Mar 2002 00:05:39 -0000 1.3
+++ FixedSizeBuffer.java 8 Oct 2002 03:15:50 -0000 1.4
@@ -11,6 +11,8 @@
* The FixedSizeBuffer is a <strong>very</strong> efficient implementation of
* Buffer that does not alter the size of the buffer at runtime.
*
+ * @deprecated use org.apache.commons.collections.BoundedFifoBuffer instead
+ *
* @author <a href="mailto:[EMAIL PROTECTED]">Berin Loritsch</a>
*/
public final class FixedSizeBuffer implements Buffer
1.6 +3 -1
jakarta-avalon-excalibur/collections/src/java/org/apache/avalon/excalibur/collections/IteratorEnumeration.java
Index: IteratorEnumeration.java
===================================================================
RCS file:
/home/cvs/jakarta-avalon-excalibur/collections/src/java/org/apache/avalon/excalibur/collections/IteratorEnumeration.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- IteratorEnumeration.java 16 Mar 2002 00:05:39 -0000 1.5
+++ IteratorEnumeration.java 8 Oct 2002 03:15:50 -0000 1.6
@@ -13,6 +13,8 @@
/**
* Enumeration wrapper for iterator.
*
+ * @deprecated use org.apache.commons.collections.IteratorEnumeration instead
+ *
* @author <a href="mailto:[EMAIL PROTECTED]">Peter Donald</a>
* @version CVS $Revision$ $Date$
* @since 4.0
1.7 +3 -1
jakarta-avalon-excalibur/collections/src/java/org/apache/avalon/excalibur/collections/ListUtils.java
Index: ListUtils.java
===================================================================
RCS file:
/home/cvs/jakarta-avalon-excalibur/collections/src/java/org/apache/avalon/excalibur/collections/ListUtils.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- ListUtils.java 16 Mar 2002 00:05:39 -0000 1.6
+++ ListUtils.java 8 Oct 2002 03:15:50 -0000 1.7
@@ -14,6 +14,8 @@
/**
* Miscelaneous utilities to manipulate Lists.
*
+ * @deprecated use org.apache.commons.collections.ListUtils instead
+ *
* @author <a href="mailto:[EMAIL PROTECTED]">Federico Barbieri</a>
* @author <a href="mailto:[EMAIL PROTECTED]">Peter Donald</a>
* @version CVS $Revision$ $Date$
1.7 +3 -1
jakarta-avalon-excalibur/collections/src/java/org/apache/avalon/excalibur/collections/PriorityQueue.java
Index: PriorityQueue.java
===================================================================
RCS file:
/home/cvs/jakarta-avalon-excalibur/collections/src/java/org/apache/avalon/excalibur/collections/PriorityQueue.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- PriorityQueue.java 10 May 2002 02:51:13 -0000 1.6
+++ PriorityQueue.java 8 Oct 2002 03:15:50 -0000 1.7
@@ -13,6 +13,8 @@
* Iterface for priority queues.
* This interface does not dictate whether it is min or max heap.
*
+ * @deprecated use org.apache.commons.collections.PriorityQueue instead
+ *
* @author <a href="mailto:[EMAIL PROTECTED]">Peter Donald</a>
* @version CVS $Revision$ $Date$
* @since 4.0
1.8 +3 -1
jakarta-avalon-excalibur/collections/src/java/org/apache/avalon/excalibur/collections/SynchronizedPriorityQueue.java
Index: SynchronizedPriorityQueue.java
===================================================================
RCS file:
/home/cvs/jakarta-avalon-excalibur/collections/src/java/org/apache/avalon/excalibur/collections/SynchronizedPriorityQueue.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- SynchronizedPriorityQueue.java 10 May 2002 02:51:13 -0000 1.7
+++ SynchronizedPriorityQueue.java 8 Oct 2002 03:15:50 -0000 1.8
@@ -14,6 +14,8 @@
* Provides synchronized wrapper methods for all the methods
* defined in the PriorityQueue interface.
*
+ * @deprecated use org.apache.commons.collections.SynchronizedPriorityQueue instead
+ *
* @author <a href="mailto:[EMAIL PROTECTED]">Ram Chidambaram</a>
* @version CVS $Revision$ $Date$
* @since 4.0
1.7 +3 -1
jakarta-avalon-excalibur/collections/src/java/org/apache/avalon/excalibur/collections/VariableSizeBuffer.java
Index: VariableSizeBuffer.java
===================================================================
RCS file:
/home/cvs/jakarta-avalon-excalibur/collections/src/java/org/apache/avalon/excalibur/collections/VariableSizeBuffer.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- VariableSizeBuffer.java 16 Mar 2002 00:05:39 -0000 1.6
+++ VariableSizeBuffer.java 8 Oct 2002 03:15:50 -0000 1.7
@@ -12,6 +12,8 @@
* According to performance testing, it exhibits a constant access time, but it
* also outperforms ArrayList when used for the same purpose.
*
+ * @deprecated use org.apache.commons.collections.UnboundedFifoBuffer instead
+ *
* @author <a href="[EMAIL PROTECTED]">Federico Barbieri</a>
* @author <a href="[EMAIL PROTECTED]">Berin Loritsch</a>
* @version CVS $Revision$ $Date$
1.2 +5 -1
jakarta-avalon-excalibur/collections/src/java/org/apache/avalon/excalibur/collections/package.html
Index: package.html
===================================================================
RCS file:
/home/cvs/jakarta-avalon-excalibur/collections/src/java/org/apache/avalon/excalibur/collections/package.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- package.html 12 Feb 2002 06:41:44 -0000 1.1
+++ package.html 8 Oct 2002 03:15:50 -0000 1.2
@@ -1,5 +1,9 @@
<html>
<body>
-Collection utilities including binaryHeap, fixed, variable and circular buffers,
and priority queues.
+<p>Collection utilities including binaryHeap, fixed,
+ variable and circular buffers, and priority queues.</p>
+<p><strong>These classes have all been deprecated in favor of
+the <a href="http://jakarta.apache.org/commons/">Jakarta Commons</a>
+version of the collection classes.</p>
</body>
</html>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>