davsclaus commented on code in PR #23021:
URL: https://github.com/apache/camel/pull/23021#discussion_r3206831884


##########
core/camel-api/src/main/java/org/apache/camel/spi/ComponentCustomizer.java:
##########
@@ -139,7 +140,7 @@ public boolean test(String s, Component target) {
      */
     class Builder<T extends Component> {
         private final Class<T> type;
-        private BiPredicate<String, Component> condition;
+        private @Nullable BiPredicate<String, Component> condition;

Review Comment:
   why is this nullable. The point of the customizer is to call the condition



-- 
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