[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:
parent
e441f8ee08
commit
f806874001
|
@ -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) {
|
||||
|
|
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue