From 858899c92f79625e833daa422859bb9d7bd39d15 Mon Sep 17 00:00:00 2001 From: Thomas Neidhart Date: Tue, 22 Jan 2013 12:28:31 +0000 Subject: [PATCH] Javadoc fixes. git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1436867 13f79535-47bb-0310-9956-ffa450edef68 --- .../commons/collections/set/CompositeSet.java | 26 +++++++++++-------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/src/main/java/org/apache/commons/collections/set/CompositeSet.java b/src/main/java/org/apache/commons/collections/set/CompositeSet.java index 0a5e5fa94..b45e51fe9 100644 --- a/src/main/java/org/apache/commons/collections/set/CompositeSet.java +++ b/src/main/java/org/apache/commons/collections/set/CompositeSet.java @@ -111,9 +111,9 @@ public class CompositeSet extends CompositeCollection implements Set { /** * Add two sets to this composite. * - * @param c the first {@link Set} to add to this composite - * @param d the second {@link Set} to add to this composite - * @throws IllegalArgumentException if c or d does not implement java.util.Set + * @param c the first {@link java.util.Set} to add to this composite + * @param d the second {@link java.util.Set} to add to this composite + * @throws IllegalArgumentException if c or d does not implement {@link java.util.Set} */ @Override @SuppressWarnings("unchecked") @@ -129,8 +129,8 @@ public class CompositeSet extends CompositeCollection implements Set { /** * Add an array of sets to this composite - * @param comps the {@link Collection} of {@link Set}s to add to this composite - * @throws IllegalArgumentException if any of the collections in comps do not implement Set + * @param comps the {@link Collection} of {@link java.util.Set}s to add to this composite + * @throws IllegalArgumentException if any of the collections in comps does not implement {@link java.util.Set} */ @Override public synchronized void addComposited(final Collection[] comps) { @@ -140,12 +140,14 @@ public class CompositeSet extends CompositeCollection implements Set { } /** - * This can receive either a {@link org.apache.commons.collections.collection.CompositeCollection.CollectionMutator CompositeCollection.CollectionMutator} or a - * {@link CompositeSet.SetMutator}. - * If a {@link org.apache.commons.collections.collection.CompositeCollection.CollectionMutator CompositeCollection.CollectionMutator} + * This can receive either a + * {@link org.apache.commons.collections.collection.CompositeCollection.CollectionMutator CollectionMutator} + * or a {@link CompositeSet.SetMutator}. + * If a {@link org.apache.commons.collections.collection.CompositeCollection.CollectionMutator CollectionMutator} * is used than conflicts when adding composited sets will throw IllegalArgumentException. * - * @param mutator the {@link org.apache.commons.collections.collection.CompositeCollection.CollectionMutator CompositeCollection.CollectionMutator} + * @param mutator + * the {@link org.apache.commons.collections.collection.CompositeCollection.CollectionMutator CollectionMutator} * to use for this composite */ @Override @@ -173,7 +175,8 @@ public class CompositeSet extends CompositeCollection implements Set { } /** - * @see Set#equals + * {@inheritDoc} + * @see java.util.Set#equals */ @Override public boolean equals(final Object obj) { @@ -185,7 +188,8 @@ public class CompositeSet extends CompositeCollection implements Set { } /** - * @see Set#hashCode + * {@inheritDoc} + * @see java.util.Set#hashCode */ @Override public int hashCode() {