Steve Storck created CAMEL-19204:
------------------------------------
Summary: Generate component configurer case statements for Java 17
Key: CAMEL-19204
URL: https://issues.apache.org/jira/browse/CAMEL-19204
Project: Camel
Issue Type: Improvement
Components: camel-core
Reporter: Steve Storck
Attachments: PropertyConfigurerGenerator.java
[~davsclaus] - here's a sort of proposal:
Some minor edits to
`org.apache.camel.maven.packaging.PropertyConfigurerGenerator` will generate
the case statements in the Java 17 style. I am proposing this, rather than
simply doing it and submitting a pull request, because this affects a lot of
things. But, since Camel has moved to Java 17 for version 4, it might be good
to update how generated code looks, so that it conforms to the more modern
standard.
I am attaching the modified class to this ticket. Should this change be
introduced? Since it affects so much, is there a preferred way of doing this?
--
This message was sent by Atlassian Jira
(v8.20.10#820010)