From cec1f64b00a23664fcbfea4cf5a1950529278cda Mon Sep 17 00:00:00 2001 From: Rodney Waldhoff Date: Tue, 22 Apr 2003 21:32:55 +0000 Subject: [PATCH] public constructors considered helpful git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131024 13f79535-47bb-0310-9956-ffa450edef68 --- .../collections/primitives/ArrayUnsignedByteList.java | 8 ++++---- .../collections/primitives/ArrayUnsignedIntList.java | 8 ++++---- .../collections/primitives/ArrayUnsignedShortList.java | 8 ++++---- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/java/org/apache/commons/collections/primitives/ArrayUnsignedByteList.java b/src/java/org/apache/commons/collections/primitives/ArrayUnsignedByteList.java index 5be332009..fafdd008c 100644 --- a/src/java/org/apache/commons/collections/primitives/ArrayUnsignedByteList.java +++ b/src/java/org/apache/commons/collections/primitives/ArrayUnsignedByteList.java @@ -1,5 +1,5 @@ /* - * $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/primitives/Attic/ArrayUnsignedByteList.java,v 1.2 2003/04/13 22:30:57 rwaldhoff Exp $ + * $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/primitives/Attic/ArrayUnsignedByteList.java,v 1.3 2003/04/22 21:32:55 rwaldhoff Exp $ * ==================================================================== * The Apache Software License, Version 1.1 * @@ -76,7 +76,7 @@ import java.io.Serializable; * This implementation supports all optional methods. * * @since Commons Collections 2.2 - * @version $Revision: 1.2 $ $Date: 2003/04/13 22:30:57 $ + * @version $Revision: 1.3 $ $Date: 2003/04/22 21:32:55 $ * * @author Rodney Waldhoff */ @@ -89,7 +89,7 @@ public class ArrayUnsignedByteList extends RandomAccessShortList implements Shor * Construct an empty list with the default * initial capacity. */ - protected ArrayUnsignedByteList() { + public ArrayUnsignedByteList() { this(8); } @@ -98,7 +98,7 @@ public class ArrayUnsignedByteList extends RandomAccessShortList implements Shor * initial capacity. * @throws IllegalArgumentException when initialCapacity is negative */ - protected ArrayUnsignedByteList(int initialCapacity) { + public ArrayUnsignedByteList(int initialCapacity) { if(initialCapacity < 0) { throw new IllegalArgumentException("capacity " + initialCapacity); } diff --git a/src/java/org/apache/commons/collections/primitives/ArrayUnsignedIntList.java b/src/java/org/apache/commons/collections/primitives/ArrayUnsignedIntList.java index 554e7af7e..4bd889d60 100644 --- a/src/java/org/apache/commons/collections/primitives/ArrayUnsignedIntList.java +++ b/src/java/org/apache/commons/collections/primitives/ArrayUnsignedIntList.java @@ -1,5 +1,5 @@ /* - * $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/primitives/Attic/ArrayUnsignedIntList.java,v 1.3 2003/04/13 22:30:57 rwaldhoff Exp $ + * $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/primitives/Attic/ArrayUnsignedIntList.java,v 1.4 2003/04/22 21:32:55 rwaldhoff Exp $ * ==================================================================== * The Apache Software License, Version 1.1 * @@ -76,7 +76,7 @@ import java.io.Serializable; * This implementation supports all optional methods. * * @since Commons Collections 2.2 - * @version $Revision: 1.3 $ $Date: 2003/04/13 22:30:57 $ + * @version $Revision: 1.4 $ $Date: 2003/04/22 21:32:55 $ * * @author Rodney Waldhoff */ @@ -89,7 +89,7 @@ public class ArrayUnsignedIntList extends RandomAccessLongList implements LongLi * Construct an empty list with the default * initial capacity. */ - protected ArrayUnsignedIntList() { + public ArrayUnsignedIntList() { this(8); } @@ -98,7 +98,7 @@ public class ArrayUnsignedIntList extends RandomAccessLongList implements LongLi * initial capacity. * @throws IllegalArgumentException when initialCapacity is negative */ - protected ArrayUnsignedIntList(int initialCapacity) { + public ArrayUnsignedIntList(int initialCapacity) { if(initialCapacity < 0) { throw new IllegalArgumentException("capacity " + initialCapacity); } diff --git a/src/java/org/apache/commons/collections/primitives/ArrayUnsignedShortList.java b/src/java/org/apache/commons/collections/primitives/ArrayUnsignedShortList.java index a46870929..50bc1f687 100644 --- a/src/java/org/apache/commons/collections/primitives/ArrayUnsignedShortList.java +++ b/src/java/org/apache/commons/collections/primitives/ArrayUnsignedShortList.java @@ -1,5 +1,5 @@ /* - * $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/primitives/Attic/ArrayUnsignedShortList.java,v 1.6 2003/04/13 22:30:57 rwaldhoff Exp $ + * $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/primitives/Attic/ArrayUnsignedShortList.java,v 1.7 2003/04/22 21:32:55 rwaldhoff Exp $ * ==================================================================== * The Apache Software License, Version 1.1 * @@ -76,7 +76,7 @@ import java.io.Serializable; * This implementation supports all optional methods. * * @since Commons Collections 2.2 - * @version $Revision: 1.6 $ $Date: 2003/04/13 22:30:57 $ + * @version $Revision: 1.7 $ $Date: 2003/04/22 21:32:55 $ * * @author Rodney Waldhoff */ @@ -89,7 +89,7 @@ public class ArrayUnsignedShortList extends RandomAccessIntList implements IntLi * Construct an empty list with the default * initial capacity. */ - protected ArrayUnsignedShortList() { + public ArrayUnsignedShortList() { this(8); } @@ -98,7 +98,7 @@ public class ArrayUnsignedShortList extends RandomAccessIntList implements IntLi * initial capacity. * @throws IllegalArgumentException when initialCapacity is negative */ - protected ArrayUnsignedShortList(int initialCapacity) { + public ArrayUnsignedShortList(int initialCapacity) { if(initialCapacity < 0) { throw new IllegalArgumentException("capacity " + initialCapacity); }