[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
|
* @see org.apache.commons.collections.functors.PrototypeFactory
|
||||||
*
|
*
|
||||||
* @param prototype the object to clone each time in the factory
|
* @param prototype the object to clone each time in the factory
|
||||||
* @return the <code>prototype</code> factory
|
* @return the <code>prototype</code> factory, or a {@link ConstantFactory#NULL_INSTANCE} if
|
||||||
* @throws IllegalArgumentException if the prototype is null
|
* the {@code prototype} is {@code null}
|
||||||
* @throws IllegalArgumentException if the prototype cannot be cloned
|
* @throws IllegalArgumentException if the prototype cannot be cloned
|
||||||
*/
|
*/
|
||||||
public static <T> Factory<T> prototypeFactory(T prototype) {
|
public static <T> Factory<T> prototypeFactory(T prototype) {
|
||||||
|
|
|
@ -51,8 +51,8 @@ public class PrototypeFactory {
|
||||||
* <ul>
|
* <ul>
|
||||||
*
|
*
|
||||||
* @param prototype the object to clone each time in the factory
|
* @param prototype the object to clone each time in the factory
|
||||||
* @return the <code>prototype</code> factory
|
* @return the <code>prototype</code> factory, or a {@link ConstantFactory#NULL_INSTANCE} if
|
||||||
* @throws IllegalArgumentException if the prototype is null
|
* the {@code prototype} is {@code null}
|
||||||
* @throws IllegalArgumentException if the prototype cannot be cloned
|
* @throws IllegalArgumentException if the prototype cannot be cloned
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings("unchecked")
|
@SuppressWarnings("unchecked")
|
||||||
|
|
Loading…
Reference in New Issue