utafrali commented on code in PR #26745:
URL: https://github.com/apache/camel/pull/26745#discussion_r4071500666
##########
dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/MustacheEndpointBuilderFactory.java:
##########
@@ -344,7 +344,7 @@ public static class MustacheHeaderNameBuilder {
* @return the name of the header {@code MustacheResourceUri}.
Review Comment:
Minor generator inconsistency (not a blocker, and not something to hand-edit
in generated code): the Javadoc still reads `@return the name of the header
{@code MustacheResourceUri}.` while the method now returns
`CamelMustacheResourceUri`. Same pattern in `mustacheTemplate()` and in both
methods of `ChunkEndpointBuilderFactory`. The `@code` value in the
header-name-methods Javadoc appears to be derived from the Java field name
(`MUSTACHE_RESOURCE_URI` → `MustacheResourceUri`) rather than the header value,
so it silently diverged when the value changed. Worth a follow-up on the
endpoint-DSL generator so this stays accurate for future header renames.
--
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]