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

   # Description
   
   Fixes [CAMEL-27420](https://issues.apache.org/jira/browse/CAMEL-27420).
   
   `AlibabaOtsProperties` and `AlibabaSlsProperties` define the names of 
exchange properties for Tablestore (`camel-alibaba-ots`) and Simple Log Service 
(`camel-alibaba-sls`). Currently, their constants carry `@Metadata` annotations 
(2 in `AlibabaOtsProperties` and 17 in `AlibabaSlsProperties`), but the Camel 
catalog and documentation tooling only inspect the header classes specified by 
`@UriEndpoint(headersClass = ...)`.
   
   These property constants' metadata annotations are unused and create 
confusion with the actual documented texts in `AlibabaOtsHeaders` and 
`AlibabaSlsHeaders`. This change removes the redundant `@Metadata` annotations 
and unused imports, bringing them into consistency with the other Alibaba 
components (`fc`, `kms`, `mns`, `oss`, `sms`).
   
   # Modifications
   
   - Removed 2 unused `@Metadata` annotations and unused import in 
`AlibabaOtsProperties.java`
   - Removed 17 unused `@Metadata` annotations and unused import in 
`AlibabaSlsProperties.java`
   
   _Gemini on behalf of krxsh007_


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