Some minor Javadoc fixes git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/branches/collections_jdk5_branch@814050 13f79535-47bb-0310-9956-ffa450edef68
Project: http://git-wip-us.apache.org/repos/asf/commons-collections/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-collections/commit/06cccbce Tree: http://git-wip-us.apache.org/repos/asf/commons-collections/tree/06cccbce Diff: http://git-wip-us.apache.org/repos/asf/commons-collections/diff/06cccbce Branch: refs/heads/collections_jdk5_branch Commit: 06cccbce5fd72dbea8f69cd1d49b2d55652bbccf Parents: 8c2bb85 Author: Sebastian Bazley <s...@apache.org> Authored: Fri Sep 11 22:01:25 2009 +0000 Committer: Sebastian Bazley <s...@apache.org> Committed: Fri Sep 11 22:01:25 2009 +0000 ---------------------------------------------------------------------- src/java/org/apache/commons/collections/CollectionUtils.java | 2 -- src/java/org/apache/commons/collections/IndexedCollection.java | 5 ++--- src/java/org/apache/commons/collections/PredicateUtils.java | 2 +- .../org/apache/commons/collections/buffer/BlockingBuffer.java | 2 +- .../collections/splitmap/AbstractIterableGetMapDecorator.java | 3 --- .../org/apache/commons/collections/keyvalue/TestMultiKey.java | 2 +- 6 files changed, 5 insertions(+), 11 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/commons-collections/blob/06cccbce/src/java/org/apache/commons/collections/CollectionUtils.java ---------------------------------------------------------------------- diff --git a/src/java/org/apache/commons/collections/CollectionUtils.java b/src/java/org/apache/commons/collections/CollectionUtils.java index 3da722b..4d26462 100644 --- a/src/java/org/apache/commons/collections/CollectionUtils.java +++ b/src/java/org/apache/commons/collections/CollectionUtils.java @@ -284,8 +284,6 @@ public class CollectionUtils { * @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>. http://git-wip-us.apache.org/repos/asf/commons-collections/blob/06cccbce/src/java/org/apache/commons/collections/IndexedCollection.java ---------------------------------------------------------------------- diff --git a/src/java/org/apache/commons/collections/IndexedCollection.java b/src/java/org/apache/commons/collections/IndexedCollection.java index 0b8b2f7..ba55aa9 100644 --- a/src/java/org/apache/commons/collections/IndexedCollection.java +++ b/src/java/org/apache/commons/collections/IndexedCollection.java @@ -17,8 +17,8 @@ import org.apache.commons.collections.collection.AbstractCollectionDecorator; * 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 @@ public class IndexedCollection<K, C> extends AbstractCollectionDecorator<C> { * * @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); http://git-wip-us.apache.org/repos/asf/commons-collections/blob/06cccbce/src/java/org/apache/commons/collections/PredicateUtils.java ---------------------------------------------------------------------- diff --git a/src/java/org/apache/commons/collections/PredicateUtils.java b/src/java/org/apache/commons/collections/PredicateUtils.java index d5185f9..8ec4a6f 100644 --- a/src/java/org/apache/commons/collections/PredicateUtils.java +++ b/src/java/org/apache/commons/collections/PredicateUtils.java @@ -280,7 +280,7 @@ public class PredicateUtils { * @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) { http://git-wip-us.apache.org/repos/asf/commons-collections/blob/06cccbce/src/java/org/apache/commons/collections/buffer/BlockingBuffer.java ---------------------------------------------------------------------- diff --git a/src/java/org/apache/commons/collections/buffer/BlockingBuffer.java b/src/java/org/apache/commons/collections/buffer/BlockingBuffer.java index 798c821..362ef6a 100644 --- a/src/java/org/apache/commons/collections/buffer/BlockingBuffer.java +++ b/src/java/org/apache/commons/collections/buffer/BlockingBuffer.java @@ -59,7 +59,7 @@ public class BlockingBuffer<E> extends SynchronizedBuffer<E> { /** * 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 http://git-wip-us.apache.org/repos/asf/commons-collections/blob/06cccbce/src/java/org/apache/commons/collections/splitmap/AbstractIterableGetMapDecorator.java ---------------------------------------------------------------------- diff --git a/src/java/org/apache/commons/collections/splitmap/AbstractIterableGetMapDecorator.java b/src/java/org/apache/commons/collections/splitmap/AbstractIterableGetMapDecorator.java index d11e4c7..2b06bfd 100644 --- a/src/java/org/apache/commons/collections/splitmap/AbstractIterableGetMapDecorator.java +++ b/src/java/org/apache/commons/collections/splitmap/AbstractIterableGetMapDecorator.java @@ -56,9 +56,6 @@ public class AbstractIterableGetMapDecorator<K, V> implements IterableGet<K, V> return map; } - /** - * {@inheritDoc} - */ public void clear() { decorated().clear(); } http://git-wip-us.apache.org/repos/asf/commons-collections/blob/06cccbce/src/test/org/apache/commons/collections/keyvalue/TestMultiKey.java ---------------------------------------------------------------------- diff --git a/src/test/org/apache/commons/collections/keyvalue/TestMultiKey.java b/src/test/org/apache/commons/collections/keyvalue/TestMultiKey.java index 6202632..8b3ffb8 100644 --- a/src/test/org/apache/commons/collections/keyvalue/TestMultiKey.java +++ b/src/test/org/apache/commons/collections/keyvalue/TestMultiKey.java @@ -24,7 +24,7 @@ import junit.framework.TestCase; 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$ *