From 3c1867e231093319b1bbbe5b0362d4063517cf24 Mon Sep 17 00:00:00 2001 From: "Gary D. Gregory" Date: Fri, 21 Oct 2016 05:53:10 +0000 Subject: [PATCH] [COLLECTIONS-597] Correction of Javadoc for org.apache.commons.collections4.functors.CatchAndRethrowClosure. Reported by Enrique. git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1765914 13f79535-47bb-0310-9956-ffa450edef68 --- src/changes/changes.xml | 3 +++ .../commons/collections4/functors/CatchAndRethrowClosure.java | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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