apupier commented on code in PR #23021:
URL: https://github.com/apache/camel/pull/23021#discussion_r3202581609
##########
core/camel-api/src/main/java/org/apache/camel/spi/Transformer.java:
##########
@@ -55,7 +58,7 @@ protected Transformer() {
}
protected Transformer(String name) {
- this.name = name;
+ this.name = Objects.requireNonNull(name, "name");
Review Comment:
the name is marked as Nullable but here there is a requireNonNull
--
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]