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

exceptionfactory pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi-api.git


The following commit(s) were added to refs/heads/main by this push:
     new 9167e5d  NIFI-15608 Corrected mismatch between javadoc and code for 
method filter in FlowFileFilter (#67)
9167e5d is described below

commit 9167e5d284f4ddb46e39a776ae5db5879915dce1
Author: dan-s1 <[email protected]>
AuthorDate: Sat Feb 28 15:11:51 2026 -0500

    NIFI-15608 Corrected mismatch between javadoc and code for method filter in 
FlowFileFilter (#67)
    
    Signed-off-by: David Handermann <[email protected]>
---
 src/main/java/org/apache/nifi/processor/FlowFileFilter.java | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/src/main/java/org/apache/nifi/processor/FlowFileFilter.java 
b/src/main/java/org/apache/nifi/processor/FlowFileFilter.java
index 18501cb..e5501ba 100644
--- a/src/main/java/org/apache/nifi/processor/FlowFileFilter.java
+++ b/src/main/java/org/apache/nifi/processor/FlowFileFilter.java
@@ -31,19 +31,17 @@ import org.apache.nifi.flowfile.FlowFile;
 public interface FlowFileFilter {
 
     /**
-     * Indicates whether or not the given FlowFile should be selected and
-     * whether or not the Processor is interested in filtering additional
-     * FlowFiles
+     * Indicates whether the given FlowFile should be selected and
+     * whether the Processor is interested in filtering additional FlowFiles.
      *
      * @param flowFile to apply the filter to
-     * @return true if the given FlowFile should be selected and
-     * if Processor is interested in filtering additional
-     * FlowFiles
+     * @return An instance of {@code FlowFileFilterResult} to indicate whether 
the given FlowFile should be selected and
+     * if Processor is interested in filtering additional FlowFiles.
      */
     FlowFileFilterResult filter(FlowFile flowFile);
 
     /**
-     * Provides a result type to indicate whether or not a FlowFile should be
+     * Provides a result type to indicate whether a FlowFile should be
      * selected
      */
     enum FlowFileFilterResult {

Reply via email to