jamesnetherton commented on code in PR #9428:
URL: https://github.com/apache/camel-quarkus/pull/9428#discussion_r4788078314


##########
extensions/langchain4j-ingest/runtime/src/main/java/org/apache/camel/quarkus/component/langchain4j/ingest/IngestRoutes.java:
##########
@@ -420,19 +420,13 @@ private static ProcessorDefinition<?> 
parseSteps(ProcessorDefinition<?> route, S
                         + " the parse - a parsed document must not supply its 
own identity");
             }
         });
-        String[] include = patterns(includeId);
-        String[] exclude = patterns(excludeId);
-        if (include != null || exclude != null) {
+        if (!includeId.isBlank() || !excludeId.isBlank()) {

Review Comment:
   @JiriOndrusek If you want to consider this as a follow up PR, feel free. I'm 
going to merge the this one as-is.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to