You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2009/09/12 00:01:26 UTC

svn commit: r814050 - in /commons/proper/collections/branches/collections_jdk5_branch/src: java/org/apache/commons/collections/ java/org/apache/commons/collections/buffer/ java/org/apache/commons/collections/splitmap/ test/org/apache/commons/collection...

Author: sebb
Date: Fri Sep 11 22:01:25 2009
New Revision: 814050

URL: http://svn.apache.org/viewvc?rev=814050&view=rev
Log:
Some minor Javadoc fixes

Modified:
    commons/proper/collections/branches/collections_jdk5_branch/src/java/org/apache/commons/collections/CollectionUtils.java
    commons/proper/collections/branches/collections_jdk5_branch/src/java/org/apache/commons/collections/IndexedCollection.java
    commons/proper/collections/branches/collections_jdk5_branch/src/java/org/apache/commons/collections/PredicateUtils.java
    commons/proper/collections/branches/collections_jdk5_branch/src/java/org/apache/commons/collections/buffer/BlockingBuffer.java
    commons/proper/collections/branches/collections_jdk5_branch/src/java/org/apache/commons/collections/splitmap/AbstractIterableGetMapDecorator.java
    commons/proper/collections/branches/collections_jdk5_branch/src/test/org/apache/commons/collections/keyvalue/TestMultiKey.java

Modified: commons/proper/collections/branches/collections_jdk5_branch/src/java/org/apache/commons/collections/CollectionUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/branches/collections_jdk5_branch/src/java/org/apache/commons/collections/CollectionUtils.java?rev=814050&r1=814049&r2=814050&view=diff
==============================================================================
--- commons/proper/collections/branches/collections_jdk5_branch/src/java/org/apache/commons/collections/CollectionUtils.java (original)
+++ commons/proper/collections/branches/collections_jdk5_branch/src/java/org/apache/commons/collections/CollectionUtils.java Fri Sep 11 22:01:25 2009
@@ -284,8 +284,6 @@
      * @param coll
      *            the collection to get the cardinality map for, must not be
      *            null
-     * @param <I>
-     *            the type of object in the input {@link Collection}
      * @param <O>
      *            the type of object in the returned {@link Map}. This is a
      *            super type of <I>.

Modified: commons/proper/collections/branches/collections_jdk5_branch/src/java/org/apache/commons/collections/IndexedCollection.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/branches/collections_jdk5_branch/src/java/org/apache/commons/collections/IndexedCollection.java?rev=814050&r1=814049&r2=814050&view=diff
==============================================================================
--- commons/proper/collections/branches/collections_jdk5_branch/src/java/org/apache/commons/collections/IndexedCollection.java (original)
+++ commons/proper/collections/branches/collections_jdk5_branch/src/java/org/apache/commons/collections/IndexedCollection.java Fri Sep 11 22:01:25 2009
@@ -17,8 +17,8 @@
  * call to {@link #reindex()} will update the index to the current contents of
  * the {@link Collection}.
  *
- * @param K the type of object in the index.
- * @param C the type of object in the collection.
+ * @param <K> the type of object in the index.
+ * @param <C> the type of object in the collection.
  * @author Stephen Kestle
  */
 // TODO support MultiMap/non-unique index behavior
@@ -57,7 +57,6 @@
      *
      * @param coll the decorated {@link Collection}.
      * @param keyTransformer the {@link Transformer} for generating index keys.
-     * @return the created {@link IndexedCollection}.
      */
     public IndexedCollection(Collection<C> coll, Transformer<C, K> keyTransformer, HashMap<K, C> map) {
         super(coll);

Modified: commons/proper/collections/branches/collections_jdk5_branch/src/java/org/apache/commons/collections/PredicateUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/branches/collections_jdk5_branch/src/java/org/apache/commons/collections/PredicateUtils.java?rev=814050&r1=814049&r2=814050&view=diff
==============================================================================
--- commons/proper/collections/branches/collections_jdk5_branch/src/java/org/apache/commons/collections/PredicateUtils.java (original)
+++ commons/proper/collections/branches/collections_jdk5_branch/src/java/org/apache/commons/collections/PredicateUtils.java Fri Sep 11 22:01:25 2009
@@ -280,7 +280,7 @@
      * @return the <code>all</code> predicate
      * @throws IllegalArgumentException if the predicates array is null
      * @throws IllegalArgumentException if any predicate in the array is null
-     * @deprecated use {@link AllPredicate#allPredicate(Predicate...)))} instead.
+     * @deprecated use {@link AllPredicate#allPredicate(Predicate...)} instead.
      */
     @Deprecated
     public static <T> Predicate<T> allPredicate(Predicate<? super T>[] predicates) {

Modified: commons/proper/collections/branches/collections_jdk5_branch/src/java/org/apache/commons/collections/buffer/BlockingBuffer.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/branches/collections_jdk5_branch/src/java/org/apache/commons/collections/buffer/BlockingBuffer.java?rev=814050&r1=814049&r2=814050&view=diff
==============================================================================
--- commons/proper/collections/branches/collections_jdk5_branch/src/java/org/apache/commons/collections/buffer/BlockingBuffer.java (original)
+++ commons/proper/collections/branches/collections_jdk5_branch/src/java/org/apache/commons/collections/buffer/BlockingBuffer.java Fri Sep 11 22:01:25 2009
@@ -59,7 +59,7 @@
     /**
      * Factory method to create a blocking buffer.
      *
-     * @param <t> the type of the elements in the buffer
+     * @param <T> the type of the elements in the buffer
      * @param buffer the buffer to decorate, must not be null
      * @return a new blocking Buffer
      * @throws IllegalArgumentException if buffer is null

Modified: commons/proper/collections/branches/collections_jdk5_branch/src/java/org/apache/commons/collections/splitmap/AbstractIterableGetMapDecorator.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/branches/collections_jdk5_branch/src/java/org/apache/commons/collections/splitmap/AbstractIterableGetMapDecorator.java?rev=814050&r1=814049&r2=814050&view=diff
==============================================================================
--- commons/proper/collections/branches/collections_jdk5_branch/src/java/org/apache/commons/collections/splitmap/AbstractIterableGetMapDecorator.java (original)
+++ commons/proper/collections/branches/collections_jdk5_branch/src/java/org/apache/commons/collections/splitmap/AbstractIterableGetMapDecorator.java Fri Sep 11 22:01:25 2009
@@ -56,9 +56,6 @@
         return map;
     }
 
-    /**
-     * {@inheritDoc}
-     */
     public void clear() {
         decorated().clear();
     }

Modified: commons/proper/collections/branches/collections_jdk5_branch/src/test/org/apache/commons/collections/keyvalue/TestMultiKey.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/branches/collections_jdk5_branch/src/test/org/apache/commons/collections/keyvalue/TestMultiKey.java?rev=814050&r1=814049&r2=814050&view=diff
==============================================================================
--- commons/proper/collections/branches/collections_jdk5_branch/src/test/org/apache/commons/collections/keyvalue/TestMultiKey.java (original)
+++ commons/proper/collections/branches/collections_jdk5_branch/src/test/org/apache/commons/collections/keyvalue/TestMultiKey.java Fri Sep 11 22:01:25 2009
@@ -24,7 +24,7 @@
 import junit.framework.TestSuite;
 
 /**
- * Unit tests for {@link org.apache.commons.collections.MultiKey}.
+ * Unit tests for {@link org.apache.commons.collections.keyvalue.MultiKey}.
  *
  * @version $Revision$ $Date$
  *