[COLLECTIONS-388] Fixed javadoc, thanks to Shin Hwei Tan.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1311334 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Thomas Neidhart 2012-04-09 17:13:55 +00:00
parent e441f8ee08
commit f806874001
2 changed files with 4 additions and 4 deletions

View File

@ -99,8 +99,8 @@ public class FactoryUtils {
* @see org.apache.commons.collections.functors.PrototypeFactory
*
* @param prototype the object to clone each time in the factory
* @return the <code>prototype</code> factory
* @throws IllegalArgumentException if the prototype is null
* @return the <code>prototype</code> factory, or a {@link ConstantFactory#NULL_INSTANCE} if
* the {@code prototype} is {@code null}
* @throws IllegalArgumentException if the prototype cannot be cloned
*/
public static <T> Factory<T> prototypeFactory(T prototype) {

View File

@ -51,8 +51,8 @@ public class PrototypeFactory {
* <ul>
*
* @param prototype the object to clone each time in the factory
* @return the <code>prototype</code> factory
* @throws IllegalArgumentException if the prototype is null
* @return the <code>prototype</code> factory, or a {@link ConstantFactory#NULL_INSTANCE} if
* the {@code prototype} is {@code null}
* @throws IllegalArgumentException if the prototype cannot be cloned
*/
@SuppressWarnings("unchecked")