This is an automated email from the ASF dual-hosted git repository.
garydgregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-collections.git
The following commit(s) were added to refs/heads/master by this push:
new 970c4da2a Javadoc
970c4da2a is described below
commit 970c4da2ad02562d82a6047088e1828e13413ca0
Author: Gary Gregory <[email protected]>
AuthorDate: Sun Jun 28 12:14:13 2026 +0000
Javadoc
---
src/main/java/org/apache/commons/collections4/functors/ForClosure.java | 1 +
src/main/java/org/apache/commons/collections4/functors/IfClosure.java | 2 ++
.../java/org/apache/commons/collections4/functors/IfTransformer.java | 1 +
.../java/org/apache/commons/collections4/functors/MapTransformer.java | 1 +
.../java/org/apache/commons/collections4/functors/SwitchClosure.java | 1 +
.../org/apache/commons/collections4/functors/TransformerClosure.java | 1 +
6 files changed, 7 insertions(+)
diff --git
a/src/main/java/org/apache/commons/collections4/functors/ForClosure.java
b/src/main/java/org/apache/commons/collections4/functors/ForClosure.java
index 8fc4f5801..54e9d44cc 100644
--- a/src/main/java/org/apache/commons/collections4/functors/ForClosure.java
+++ b/src/main/java/org/apache/commons/collections4/functors/ForClosure.java
@@ -37,6 +37,7 @@ public class ForClosure<T> implements Closure<T> {
* <p>
* A null closure or zero count returns the {@code NOPClosure}.
* A count of one returns the specified closure.
+ * </p>
*
* @param <E> the type that the closure acts on
* @param count the number of times to execute the closure
diff --git
a/src/main/java/org/apache/commons/collections4/functors/IfClosure.java
b/src/main/java/org/apache/commons/collections4/functors/IfClosure.java
index 54072b79b..3bb767fc8 100644
--- a/src/main/java/org/apache/commons/collections4/functors/IfClosure.java
+++ b/src/main/java/org/apache/commons/collections4/functors/IfClosure.java
@@ -39,6 +39,7 @@ public class IfClosure<T> implements Closure<T>, Serializable
{
* <p>
* This factory creates a closure that performs no action when
* the predicate is false.
+ * </p>
*
* @param <E> the type that the closure acts on
* @param predicate predicate to switch on
@@ -84,6 +85,7 @@ public class IfClosure<T> implements Closure<T>, Serializable
{
* <p>
* This constructor creates a closure that performs no action when
* the predicate is false.
+ * </p>
*
* @param predicate predicate to switch on, not null
* @param trueClosure closure used if true, not null
diff --git
a/src/main/java/org/apache/commons/collections4/functors/IfTransformer.java
b/src/main/java/org/apache/commons/collections4/functors/IfTransformer.java
index 7743c5337..bedfde9bb 100644
--- a/src/main/java/org/apache/commons/collections4/functors/IfTransformer.java
+++ b/src/main/java/org/apache/commons/collections4/functors/IfTransformer.java
@@ -59,6 +59,7 @@ public class IfTransformer<T, R> implements Transformer<T,
R>, Serializable {
* <p>
* This factory creates a transformer that just returns the input object
when
* the predicate is false.
+ * </p>
*
* @param <T> input and output type for the transformer
* @param predicate predicate to switch on
diff --git
a/src/main/java/org/apache/commons/collections4/functors/MapTransformer.java
b/src/main/java/org/apache/commons/collections4/functors/MapTransformer.java
index a5b63a3e1..a4c8cf001 100644
--- a/src/main/java/org/apache/commons/collections4/functors/MapTransformer.java
+++ b/src/main/java/org/apache/commons/collections4/functors/MapTransformer.java
@@ -38,6 +38,7 @@ public final class MapTransformer<T, R> implements
Transformer<T, R>, Serializab
* Creates the transformer.
* <p>
* If the map is null, a transformer that always returns null is returned.
+ * </p>
*
* @param <I> the input type
* @param <O> the output type
diff --git
a/src/main/java/org/apache/commons/collections4/functors/SwitchClosure.java
b/src/main/java/org/apache/commons/collections4/functors/SwitchClosure.java
index 2d20c1ad1..7ed46ee68 100644
--- a/src/main/java/org/apache/commons/collections4/functors/SwitchClosure.java
+++ b/src/main/java/org/apache/commons/collections4/functors/SwitchClosure.java
@@ -45,6 +45,7 @@ public class SwitchClosure<T> implements Closure<T>,
Serializable {
* closure is called. The default closure is set in the map with a
* null key. The ordering is that of the iterator() method on the entryset
* collection of the map.
+ * </p>
*
* @param <E> the type that the closure acts on
* @param predicatesAndClosures a map of predicates to closures
diff --git
a/src/main/java/org/apache/commons/collections4/functors/TransformerClosure.java
b/src/main/java/org/apache/commons/collections4/functors/TransformerClosure.java
index e22c54b5e..69b1037ba 100644
---
a/src/main/java/org/apache/commons/collections4/functors/TransformerClosure.java
+++
b/src/main/java/org/apache/commons/collections4/functors/TransformerClosure.java
@@ -37,6 +37,7 @@ public class TransformerClosure<T> implements Closure<T>,
Serializable {
* Factory method that performs validation.
* <p>
* A null transformer will return the {@code NOPClosure}.
+ * </p>
*
* @param <E> the type that the closure acts on
* @param transformer the transformer to call, null means nop