From 9b1843b10dbd62adbe29b244da55a39bb04e98a7 Mon Sep 17 00:00:00 2001 From: Stephen Colebourne Date: Mon, 5 Jan 2004 21:31:48 +0000 Subject: [PATCH] Add constructor Fix javadoc, from Gary Gregory git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131519 13f79535-47bb-0310-9956-ffa450edef68 --- .../collections/functors/FunctorUtils.java | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/src/java/org/apache/commons/collections/functors/FunctorUtils.java b/src/java/org/apache/commons/collections/functors/FunctorUtils.java index 65bad0d8a..4f3fe947c 100644 --- a/src/java/org/apache/commons/collections/functors/FunctorUtils.java +++ b/src/java/org/apache/commons/collections/functors/FunctorUtils.java @@ -1,10 +1,10 @@ /* - * $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/functors/FunctorUtils.java,v 1.3 2003/11/23 23:25:33 scolebourne Exp $ + * $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/functors/FunctorUtils.java,v 1.4 2004/01/05 21:31:48 scolebourne Exp $ * ==================================================================== * * The Apache Software License, Version 1.1 * - * Copyright (c) 2001-2003 The Apache Software Foundation. All rights + * Copyright (c) 2001-2004 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without @@ -68,12 +68,18 @@ import org.apache.commons.collections.Transformer; * Internal utilities for functors. * * @since Commons Collections 3.0 - * @version $Revision: 1.3 $ $Date: 2003/11/23 23:25:33 $ + * @version $Revision: 1.4 $ $Date: 2004/01/05 21:31:48 $ * * @author Stephen Colebourne */ class FunctorUtils { + /** + * Restricted constructor. + */ + private FunctorUtils() { + } + /** * Clone the predicates to ensure that the internal reference can't be messed with. * @@ -91,7 +97,6 @@ class FunctorUtils { * Validate the predicates to ensure that all is well. * * @param predicates the predicates to validate - * @return the validated predicates */ static void validate(Predicate[] predicates) { if (predicates == null) { @@ -108,7 +113,6 @@ class FunctorUtils { * Validate the predicates to ensure that all is well. * * @param predicates the predicates to validate - * @return the validated predicates */ static void validateMin2(Predicate[] predicates) { if (predicates == null) { @@ -169,7 +173,6 @@ class FunctorUtils { * Validate the closures to ensure that all is well. * * @param closures the closures to validate - * @return the validated closures */ static void validate(Closure[] closures) { if (closures == null) {