Skip to content

fix: only apply deprecated note when required#345

Closed
marktani-sumup wants to merge 1 commit into
open-telemetry:mainfrom
marktani-sumup:fix/deprecated
Closed

fix: only apply deprecated note when required#345
marktani-sumup wants to merge 1 commit into
open-telemetry:mainfrom
marktani-sumup:fix/deprecated

Conversation

@marktani-sumup

Copy link
Copy Markdown

Currently if a single attribute in a group contains the deprecated flag, it will erroneously apply the @Deprecated annotations to all or at least some attributes, instead of only the one attribute that was marked deprecated.

This PR fixes this by setting the deprecated note to "" for attributes that are not deprecated.

@marktani-sumup marktani-sumup requested review from a team as code owners November 7, 2025 10:56
@linux-foundation-easycla

Copy link
Copy Markdown

CLA Not Signed

@trask

trask commented Nov 7, 2025

Copy link
Copy Markdown
Member

hi @marktani-sumup! does this affect any of the generated Java code in this repo currently? thanks

@trask trask closed this Jan 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants