scolebourne 2004/01/05 13:31:49
Modified: collections/src/java/org/apache/commons/collections/functors
FunctorUtils.java
Log:
Add constructor
Fix javadoc, from Gary Gregory
Revision Changes Path
1.4 +9 -6
jakarta-commons/collections/src/java/org/apache/commons/collections/functors/FunctorUtils.java
Index: FunctorUtils.java
===================================================================
RCS file:
/home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/functors/FunctorUtils.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- FunctorUtils.java 23 Nov 2003 23:25:33 -0000 1.3
+++ FunctorUtils.java 5 Jan 2004 21:31:48 -0000 1.4
@@ -4,7 +4,7 @@
*
* 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
@@ -75,6 +75,12 @@
class FunctorUtils {
/**
+ * Restricted constructor.
+ */
+ private FunctorUtils() {
+ }
+
+ /**
* Clone the predicates to ensure that the internal reference can't be messed
with.
*
* @param predicates the predicates to copy
@@ -91,7 +97,6 @@
* 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 @@
* 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 @@
* 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) {
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]