commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rwaldh...@apache.org
Subject cvs commit: jakarta-commons/collections/src/java/org/apache/commons/collections/primitives ArrayUnsignedIntList.java ArrayUnsignedByteList.java ArrayUnsignedShortList.java
Date Tue, 22 Apr 2003 21:32:55 GMT
rwaldhoff    2003/04/22 14:32:55

  Modified:    collections/src/java/org/apache/commons/collections/primitives
                        ArrayUnsignedIntList.java
                        ArrayUnsignedByteList.java
                        ArrayUnsignedShortList.java
  Log:
  public constructors considered helpful
  
  Revision  Changes    Path
  1.4       +4 -4      jakarta-commons/collections/src/java/org/apache/commons/collections/primitives/ArrayUnsignedIntList.java
  
  Index: ArrayUnsignedIntList.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/primitives/ArrayUnsignedIntList.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- ArrayUnsignedIntList.java	13 Apr 2003 22:30:57 -0000	1.3
  +++ ArrayUnsignedIntList.java	22 Apr 2003 21:32:55 -0000	1.4
  @@ -89,7 +89,7 @@
        * Construct an empty list with the default
        * initial capacity.
        */
  -    protected ArrayUnsignedIntList() {
  +    public ArrayUnsignedIntList() {
           this(8);
       }    
   
  @@ -98,7 +98,7 @@
        * initial capacity.
        * @throws IllegalArgumentException when <i>initialCapacity</i> is negative
        */
  -    protected ArrayUnsignedIntList(int initialCapacity) {
  +    public ArrayUnsignedIntList(int initialCapacity) {
           if(initialCapacity < 0) {
               throw new IllegalArgumentException("capacity " + initialCapacity);
           }
  
  
  
  1.3       +4 -4      jakarta-commons/collections/src/java/org/apache/commons/collections/primitives/ArrayUnsignedByteList.java
  
  Index: ArrayUnsignedByteList.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/primitives/ArrayUnsignedByteList.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ArrayUnsignedByteList.java	13 Apr 2003 22:30:57 -0000	1.2
  +++ ArrayUnsignedByteList.java	22 Apr 2003 21:32:55 -0000	1.3
  @@ -89,7 +89,7 @@
        * Construct an empty list with the default
        * initial capacity.
        */
  -    protected ArrayUnsignedByteList() {
  +    public ArrayUnsignedByteList() {
           this(8);
       }    
   
  @@ -98,7 +98,7 @@
        * initial capacity.
        * @throws IllegalArgumentException when <i>initialCapacity</i> is negative
        */
  -    protected ArrayUnsignedByteList(int initialCapacity) {
  +    public ArrayUnsignedByteList(int initialCapacity) {
           if(initialCapacity < 0) {
               throw new IllegalArgumentException("capacity " + initialCapacity);
           }
  
  
  
  1.7       +4 -4      jakarta-commons/collections/src/java/org/apache/commons/collections/primitives/ArrayUnsignedShortList.java
  
  Index: ArrayUnsignedShortList.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/primitives/ArrayUnsignedShortList.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- ArrayUnsignedShortList.java	13 Apr 2003 22:30:57 -0000	1.6
  +++ ArrayUnsignedShortList.java	22 Apr 2003 21:32:55 -0000	1.7
  @@ -89,7 +89,7 @@
        * Construct an empty list with the default
        * initial capacity.
        */
  -    protected ArrayUnsignedShortList() {
  +    public ArrayUnsignedShortList() {
           this(8);
       }    
   
  @@ -98,7 +98,7 @@
        * initial capacity.
        * @throws IllegalArgumentException when <i>initialCapacity</i> is negative
        */
  -    protected ArrayUnsignedShortList(int initialCapacity) {
  +    public ArrayUnsignedShortList(int initialCapacity) {
           if(initialCapacity < 0) {
               throw new IllegalArgumentException("capacity " + initialCapacity);
           }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message