liurui-1 edited a comment on issue #2317: URL: https://github.com/apache/camel-k/issues/2317#issuecomment-846861799
@lburgazzoli The problem of this change is to reduce code reusability. For example in our Camel-k integration, we have 3-10 routes sharing same group of constants and static methods/functions. With this change, we have to copy all those definitions to each Java file. It makes the Java file much longer, difficult to read and more error-pone with inconsistency issues. And those constants and static methods/functions are only for our own system, we do not expect to expose them to public Maven repository. -- 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. For queries about this service, please contact Infrastructure at: [email protected]
