diff --git a/src/changes/changes.xml b/src/changes/changes.xml index 7ff210a96..86e2ece3b 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -24,6 +24,9 @@ Web site spelling error: MultiValuedMapeList. + + Correction of javadoc for org.apache.commons.collections4.functors.CatchAndRethrowClosure. + Add null-safe MapUtils.size(Map<?, ?>) method. diff --git a/src/main/java/org/apache/commons/collections4/functors/CatchAndRethrowClosure.java b/src/main/java/org/apache/commons/collections4/functors/CatchAndRethrowClosure.java index 2270a6851..38b7fe2fc 100644 --- a/src/main/java/org/apache/commons/collections4/functors/CatchAndRethrowClosure.java +++ b/src/main/java/org/apache/commons/collections4/functors/CatchAndRethrowClosure.java @@ -36,7 +36,7 @@ import org.apache.commons.collections4.FunctorException; * // use catch and re-throw closure * java.util.List strList = // some list * try { - * CollctionUtils.forAllDo(strList, writer); + * CollectionUtils.forAllDo(strList, writer); * } catch (FunctorException ex) { * Throwable originalError = ex.getCause(); * // handle error