From ced149dd399c3b850f57179fb16f008ec91298c4 Mon Sep 17 00:00:00 2001 From: dan-s1 Date: Mon, 16 Feb 2026 16:18:53 +0000 Subject: [PATCH] NIFI-15608 Corrected mismatch between javadoc and code for javadoc on method filter in interface FlowFileFilter. --- .../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 @@ 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 {