Working on TRUNK-6543 – Adding explicit @Deprecated metadata

Hi everyone,

I’m interested in working on TRUNK-6543 – Add explicit @Deprecated metadata to previously Javadoc-deprecated core API elements.

Currently, I don’t seem to have the required Jira permissions to comment on or claim the issue, so I’m sharing my intent here to keep the community informed and avoid duplicate work.

My planned approach is:

  • Identify API elements in BaseOpenmrsData, BaseOpenmrsMetadata, and ConditionClinicalStatus that are marked as deprecated in Javadoc but lack the corresponding @Deprecated annotation.

  • Add explicit @Deprecated(since = "X.Y", forRemoval = false) annotations where appropriate.

  • Ensure the since version aligns with the version in which the API was originally deprecated.

  • Standardize Javadoc deprecation formatting for consistency.

  • Run the full test suite (mvn clean install) to ensure no regressions.

Please let me know if there are any additional guidelines or considerations I should follow before proceeding.

Thank you!

So sorry for this. Kindly do you have access to jira/wiki? If you don’t have access kindly request access to the OpenMRS Wiki and Issue Tracker by filling the form on this link OpenMRS HelpDesk. Assumption you have access ensure you have successfully logged into jira issue tracker.

1 Like

the HelpDesk is usually overlooked, but its very important :+1:. thank you @jwnasambu .