From b6aac639d99f2900f9b542455ab9f1142ae50121 Mon Sep 17 00:00:00 2001 From: Thomas Neidhart Date: Sat, 23 Jun 2012 16:29:39 +0000 Subject: [PATCH] Fixed javadoc (closing paragraph elements). git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1353156 13f79535-47bb-0310-9956-ffa450edef68 --- src/main/java/org/apache/commons/collections/Buffer.java | 6 +++--- src/main/java/org/apache/commons/collections/Closure.java | 4 ++-- src/main/java/org/apache/commons/collections/Factory.java | 4 ++-- .../java/org/apache/commons/collections/MultiMap.java | 8 ++++---- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/main/java/org/apache/commons/collections/Buffer.java b/src/main/java/org/apache/commons/collections/Buffer.java index cb398c4ce..a7116e8a3 100644 --- a/src/main/java/org/apache/commons/collections/Buffer.java +++ b/src/main/java/org/apache/commons/collections/Buffer.java @@ -23,17 +23,17 @@ import java.util.Collection; *

* The removal order can be based on insertion order (eg, a FIFO queue or a * LIFO stack), on access order (eg, an LRU cache), on some arbitrary comparator - * (eg, a priority queue) or on any other well-defined ordering. + * (eg, a priority queue) or on any other well-defined ordering.

*

* Note that the removal order is not necessarily the same as the iteration * order. A Buffer implementation may have equivalent removal - * and iteration orders, but this is not required. + * and iteration orders, but this is not required.

*

* This interface does not specify any behavior for * {@link Object#equals(Object)} and {@link Object#hashCode} methods. It * is therefore possible for a Buffer implementation to also * also implement {@link java.util.List}, {@link java.util.Set} or - * {@link Bag}. + * {@link Bag}.

* * @param the type of the elements in the buffer * @since Commons Collections 2.1 diff --git a/src/main/java/org/apache/commons/collections/Closure.java b/src/main/java/org/apache/commons/collections/Closure.java index 08942c36c..03b34aa4f 100644 --- a/src/main/java/org/apache/commons/collections/Closure.java +++ b/src/main/java/org/apache/commons/collections/Closure.java @@ -20,10 +20,10 @@ package org.apache.commons.collections; * Defines a functor interface implemented by classes that do something. *

* A Closure represents a block of code which is executed from - * inside some block, function or iteration. It operates an input object. + * inside some block, function or iteration. It operates an input object.

*

* Standard implementations of common closures are provided by - * {@link ClosureUtils}. These include method invokation and for/while loops. + * {@link ClosureUtils}. These include method invocation and for/while loops.

* * @param the type that the closure acts on * @since Commons Collections 1.0 diff --git a/src/main/java/org/apache/commons/collections/Factory.java b/src/main/java/org/apache/commons/collections/Factory.java index d97cdd562..9a1ef2b2e 100644 --- a/src/main/java/org/apache/commons/collections/Factory.java +++ b/src/main/java/org/apache/commons/collections/Factory.java @@ -20,11 +20,11 @@ package org.apache.commons.collections; * Defines a functor interface implemented by classes that create objects. *

* A Factory creates an object without using an input parameter. - * If an input parameter is required, then {@link Transformer} is more appropriate. + * If an input parameter is required, then {@link Transformer} is more appropriate.

*

* Standard implementations of common factories are provided by * {@link FactoryUtils}. These include factories that return a constant, - * a copy of a prototype or a new instance. + * a copy of a prototype or a new instance.

* * @param the type that the factory creates * diff --git a/src/main/java/org/apache/commons/collections/MultiMap.java b/src/main/java/org/apache/commons/collections/MultiMap.java index 47a7dfc63..f3f63602c 100644 --- a/src/main/java/org/apache/commons/collections/MultiMap.java +++ b/src/main/java/org/apache/commons/collections/MultiMap.java @@ -23,7 +23,7 @@ import java.util.Collection; *

* A MultiMap is a Map with slightly different semantics. * Putting a value into the map will add the value to a Collection at that key. - * Getting a value will return a Collection, holding all the values put to that key. + * Getting a value will return a Collection, holding all the values put to that key.

*

* For example: *

@@ -31,13 +31,13 @@ import java.util.Collection;
  * mhm.put(key, "A");
  * mhm.put(key, "B");
  * mhm.put(key, "C");
- * Collection coll = (Collection) mhm.get(key);
+ * Collection coll = (Collection) mhm.get(key);

*

- * coll will be a collection containing "A", "B", "C". + * coll will be a collection containing "A", "B", "C".

*

* NOTE: Additional methods were added to this interface in Commons Collections 3.1. * These were added solely for documentation purposes and do not change the interface - * as they were defined in the superinterface Map anyway. + * as they were defined in the superinterface Map anyway.

* * @since Commons Collections 2.0 * @version $Revision$