You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by or...@apache.org on 2022/03/16 08:03:29 UTC

[camel] 02/04: CAMEL-17762: fixed inverted documentation for the resumable test

This is an automated email from the ASF dual-hosted git repository.

orpiske pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 4d0d4b1f93db91b80a5462a61f2aca05861fc88b
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Tue Mar 15 12:59:27 2022 +0100

    CAMEL-17762: fixed inverted documentation for the resumable test
---
 core/camel-api/src/main/java/org/apache/camel/ResumableSet.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/core/camel-api/src/main/java/org/apache/camel/ResumableSet.java b/core/camel-api/src/main/java/org/apache/camel/ResumableSet.java
index 898c997..1843063 100644
--- a/core/camel-api/src/main/java/org/apache/camel/ResumableSet.java
+++ b/core/camel-api/src/main/java/org/apache/camel/ResumableSet.java
@@ -34,7 +34,7 @@ public interface ResumableSet<T> {
      * @param  input          the input array to check for resumables
      * @param  resumableCheck a checker method that returns true if a single entry of the input should be resumed or
      *                        false otherwise. For instance: given a set A, B and C, where B has already been processed,
-     *                        then a test for A and C returns false, whereas a test for B returns true.
+     *                        then a test for A and C returns true, whereas a test for B returns false.
      * @return                a new array containing the elements that still need to be processed
      */
     default T[] resumeEach(T[] input, Predicate<T> resumableCheck) {
@@ -61,7 +61,7 @@ public interface ResumableSet<T> {
      *
      * @param resumableCheck a checker method that returns true if a single entry of the input should be resumed or
      *                       false otherwise. For instance: given a set A, B and C, where B has already been processed,
-     *                       then a test for A and C returns false, whereas a test for B returns true.
+     *                       then a test for A and C returns true, whereas a test for B returns false.
      */
     void resumeEach(Predicate<T> resumableCheck);