commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scolebou...@apache.org
Subject svn commit: r227311 - /jakarta/commons/proper/primitives/trunk/src/java/org/apache/commons/collections/primitives/
Date Thu, 04 Aug 2005 06:43:53 GMT
Author: scolebourne
Date: Wed Aug  3 23:43:40 2005
New Revision: 227311

URL: http://svn.apache.org/viewcvs?rev=227311&view=rev
Log:
Javadoc fixes
bug 35836, from Nathan Beyer

Modified:
    jakarta/commons/proper/primitives/trunk/src/java/org/apache/commons/collections/primitives/RandomAccessBooleanList.java
    jakarta/commons/proper/primitives/trunk/src/java/org/apache/commons/collections/primitives/RandomAccessByteList.java
    jakarta/commons/proper/primitives/trunk/src/java/org/apache/commons/collections/primitives/RandomAccessCharList.java
    jakarta/commons/proper/primitives/trunk/src/java/org/apache/commons/collections/primitives/RandomAccessDoubleList.java
    jakarta/commons/proper/primitives/trunk/src/java/org/apache/commons/collections/primitives/RandomAccessFloatList.java
    jakarta/commons/proper/primitives/trunk/src/java/org/apache/commons/collections/primitives/RandomAccessIntList.java
    jakarta/commons/proper/primitives/trunk/src/java/org/apache/commons/collections/primitives/RandomAccessLongList.java
    jakarta/commons/proper/primitives/trunk/src/java/org/apache/commons/collections/primitives/RandomAccessShortList.java

Modified: jakarta/commons/proper/primitives/trunk/src/java/org/apache/commons/collections/primitives/RandomAccessBooleanList.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/primitives/trunk/src/java/org/apache/commons/collections/primitives/RandomAccessBooleanList.java?rev=227311&r1=227310&r2=227311&view=diff
==============================================================================
--- jakarta/commons/proper/primitives/trunk/src/java/org/apache/commons/collections/primitives/RandomAccessBooleanList.java
(original)
+++ jakarta/commons/proper/primitives/trunk/src/java/org/apache/commons/collections/primitives/RandomAccessBooleanList.java
Wed Aug  3 23:43:40 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.
@@ -24,7 +24,7 @@
  * <p />
  * Read-only subclasses must override {@link #get} and {@link #size}.
  * Mutable subclasses should also override {@link #set}.  Variably-sized
- * subclasses should also override {@link #add} and {@link #removeElementAt}.
+ * subclasses should also override {@link #add(boolean)} and {@link #removeElementAt}.
  * All other methods have at least some base implementation derived from
  * these.  Subclasses may choose to override these methods to provide a
  * more efficient implementation.

Modified: jakarta/commons/proper/primitives/trunk/src/java/org/apache/commons/collections/primitives/RandomAccessByteList.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/primitives/trunk/src/java/org/apache/commons/collections/primitives/RandomAccessByteList.java?rev=227311&r1=227310&r2=227311&view=diff
==============================================================================
--- jakarta/commons/proper/primitives/trunk/src/java/org/apache/commons/collections/primitives/RandomAccessByteList.java
(original)
+++ jakarta/commons/proper/primitives/trunk/src/java/org/apache/commons/collections/primitives/RandomAccessByteList.java
Wed Aug  3 23:43:40 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.
@@ -25,7 +25,7 @@
  * Read-only subclasses must override {@link #get}
  * and {@link #size}.  Mutable subclasses
  * should also override {@link #set}.  Variably-sized
- * subclasses should also override {@link #add} 
+ * subclasses should also override {@link #add(byte)} 
  * and {@link #removeElementAt}.  All other methods
  * have at least some base implementation derived from 
  * these.  Subclasses may choose to override these methods
@@ -155,7 +155,7 @@
     public int hashCode() {
         int hash = 1;
         for(ByteIterator iter = iterator(); iter.hasNext(); ) {
-            hash = 31*hash + ((int)(iter.next()));
+            hash = 31*hash + iter.next();
         }
         return hash;
     }

Modified: jakarta/commons/proper/primitives/trunk/src/java/org/apache/commons/collections/primitives/RandomAccessCharList.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/primitives/trunk/src/java/org/apache/commons/collections/primitives/RandomAccessCharList.java?rev=227311&r1=227310&r2=227311&view=diff
==============================================================================
--- jakarta/commons/proper/primitives/trunk/src/java/org/apache/commons/collections/primitives/RandomAccessCharList.java
(original)
+++ jakarta/commons/proper/primitives/trunk/src/java/org/apache/commons/collections/primitives/RandomAccessCharList.java
Wed Aug  3 23:43:40 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.
@@ -25,7 +25,7 @@
  * Read-only subclasses must override {@link #get}
  * and {@link #size}.  Mutable subclasses
  * should also override {@link #set}.  Variably-sized
- * subclasses should also override {@link #add} 
+ * subclasses should also override {@link #add(char)} 
  * and {@link #removeElementAt}.  All other methods
  * have at least some base implementation derived from 
  * these.  Subclasses may choose to override these methods
@@ -155,7 +155,7 @@
     public int hashCode() {
         int hash = 1;
         for(CharIterator iter = iterator(); iter.hasNext(); ) {
-            hash = 31*hash + ((int)(iter.next()));
+            hash = 31*hash + iter.next();
         }
         return hash;
     }

Modified: jakarta/commons/proper/primitives/trunk/src/java/org/apache/commons/collections/primitives/RandomAccessDoubleList.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/primitives/trunk/src/java/org/apache/commons/collections/primitives/RandomAccessDoubleList.java?rev=227311&r1=227310&r2=227311&view=diff
==============================================================================
--- jakarta/commons/proper/primitives/trunk/src/java/org/apache/commons/collections/primitives/RandomAccessDoubleList.java
(original)
+++ jakarta/commons/proper/primitives/trunk/src/java/org/apache/commons/collections/primitives/RandomAccessDoubleList.java
Wed Aug  3 23:43:40 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.
@@ -25,7 +25,7 @@
  * Read-only subclasses must override {@link #get}
  * and {@link #size}.  Mutable subclasses
  * should also override {@link #set}.  Variably-sized
- * subclasses should also override {@link #add} 
+ * subclasses should also override {@link #add(double)} 
  * and {@link #removeElementAt}.  All other methods
  * have at least some base implementation derived from 
  * these.  Subclasses may choose to override these methods

Modified: jakarta/commons/proper/primitives/trunk/src/java/org/apache/commons/collections/primitives/RandomAccessFloatList.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/primitives/trunk/src/java/org/apache/commons/collections/primitives/RandomAccessFloatList.java?rev=227311&r1=227310&r2=227311&view=diff
==============================================================================
--- jakarta/commons/proper/primitives/trunk/src/java/org/apache/commons/collections/primitives/RandomAccessFloatList.java
(original)
+++ jakarta/commons/proper/primitives/trunk/src/java/org/apache/commons/collections/primitives/RandomAccessFloatList.java
Wed Aug  3 23:43:40 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.
@@ -25,7 +25,7 @@
  * Read-only subclasses must override {@link #get}
  * and {@link #size}.  Mutable subclasses
  * should also override {@link #set}.  Variably-sized
- * subclasses should also override {@link #add} 
+ * subclasses should also override {@link #add(float)} 
  * and {@link #removeElementAt}.  All other methods
  * have at least some base implementation derived from 
  * these.  Subclasses may choose to override these methods

Modified: jakarta/commons/proper/primitives/trunk/src/java/org/apache/commons/collections/primitives/RandomAccessIntList.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/primitives/trunk/src/java/org/apache/commons/collections/primitives/RandomAccessIntList.java?rev=227311&r1=227310&r2=227311&view=diff
==============================================================================
--- jakarta/commons/proper/primitives/trunk/src/java/org/apache/commons/collections/primitives/RandomAccessIntList.java
(original)
+++ jakarta/commons/proper/primitives/trunk/src/java/org/apache/commons/collections/primitives/RandomAccessIntList.java
Wed Aug  3 23:43:40 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.
@@ -25,7 +25,7 @@
  * Read-only subclasses must override {@link #get}
  * and {@link #size}.  Mutable subclasses
  * should also override {@link #set}.  Variably-sized
- * subclasses should also override {@link #add} 
+ * subclasses should also override {@link #add(int)} 
  * and {@link #removeElementAt}.  All other methods
  * have at least some base implementation derived from 
  * these.  Subclasses may choose to override these methods

Modified: jakarta/commons/proper/primitives/trunk/src/java/org/apache/commons/collections/primitives/RandomAccessLongList.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/primitives/trunk/src/java/org/apache/commons/collections/primitives/RandomAccessLongList.java?rev=227311&r1=227310&r2=227311&view=diff
==============================================================================
--- jakarta/commons/proper/primitives/trunk/src/java/org/apache/commons/collections/primitives/RandomAccessLongList.java
(original)
+++ jakarta/commons/proper/primitives/trunk/src/java/org/apache/commons/collections/primitives/RandomAccessLongList.java
Wed Aug  3 23:43:40 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.
@@ -25,7 +25,7 @@
  * Read-only subclasses must override {@link #get}
  * and {@link #size}.  Mutable subclasses
  * should also override {@link #set}.  Variably-sized
- * subclasses should also override {@link #add} 
+ * subclasses should also override {@link #add(long)} 
  * and {@link #removeElementAt}.  All other methods
  * have at least some base implementation derived from 
  * these.  Subclasses may choose to override these methods

Modified: jakarta/commons/proper/primitives/trunk/src/java/org/apache/commons/collections/primitives/RandomAccessShortList.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/primitives/trunk/src/java/org/apache/commons/collections/primitives/RandomAccessShortList.java?rev=227311&r1=227310&r2=227311&view=diff
==============================================================================
--- jakarta/commons/proper/primitives/trunk/src/java/org/apache/commons/collections/primitives/RandomAccessShortList.java
(original)
+++ jakarta/commons/proper/primitives/trunk/src/java/org/apache/commons/collections/primitives/RandomAccessShortList.java
Wed Aug  3 23:43:40 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.
@@ -25,7 +25,7 @@
  * Read-only subclasses must override {@link #get}
  * and {@link #size}.  Mutable subclasses
  * should also override {@link #set}.  Variably-sized
- * subclasses should also override {@link #add} 
+ * subclasses should also override {@link #add(short)} 
  * and {@link #removeElementAt}.  All other methods
  * have at least some base implementation derived from 
  * these.  Subclasses may choose to override these methods



---------------------------------------------------------------------
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