orpiske opened a new pull request, #22305:
URL: https://github.com/apache/camel/pull/22305

   ## Summary
   
   - Change `public` constructors of `abstract` classes to `protected` across 
37 modules (179 issues)
   - SonarCloud rule 
[S5993](https://sonarcloud.io/project/issues?rules=java%3AS5993&issueStatuses=OPEN%2CCONFIRMED&id=apache_camel):
 constructors of abstract classes should not be declared `public` since 
abstract classes cannot be instantiated directly — `protected` is the correct 
visibility
   - This is a safe, behavior-preserving change: subclasses can still call 
`super()` with `protected` constructors
   
   ## Affected modules
   
   **Core:** camel-api, camel-base, camel-core-languages, camel-core-model, 
camel-core-processor, camel-core-reifier, camel-core-xml, camel-main, 
camel-support
   
   **Components:** camel-djl, camel-as2-api, camel-aws2-timestream, 
camel-infinispan-common, camel-oauth, camel-salesforce-component, 
camel-servicenow-component, camel-sjms, camel-smpp, camel-splunk, camel-sql, 
camel-telegram, camel-twitter, camel-whatsapp, camel-wordpress, camel-workday, 
camel-xmlsecurity, camel-zeebe, camel-zookeeper
   
   **DSL:** camel-endpointdsl, camel-jbang-core, camel-jbang-plugin-kubernetes, 
camel-yaml-dsl, camel-yaml-dsl-common
   
   **Test infra:** camel-test-infra-artemis, camel-test-infra-aws-v2, 
camel-test-infra-azure-common, camel-test-infra-jetty
   
   ## Test plan
   
   - [x] Each module built successfully with `mvn -DskipTests install` 
(formatting included)
   - [ ] CI passes full test suite
   
   _Claude Code on behalf of Otavio R. Piske_


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