Skip to content

AOM-186: Replace deprecated Boolean constructor in PersonFormController. - #259

Open
aadvik93 wants to merge 4 commits into
openmrs:masterfrom
aadvik93:AOM-186
Open

AOM-186: Replace deprecated Boolean constructor in PersonFormController.#259
aadvik93 wants to merge 4 commits into
openmrs:masterfrom
aadvik93:AOM-186

Conversation

@aadvik93

@aadvik93 aadvik93 commented Apr 27, 2026

Copy link
Copy Markdown

Description

This PR replaces usage of the deprecated Boolean constructor in PersonFormController.

Specifically, occurrences of:

new Boolean(String)

have been replaced with:

Boolean.parseBoolean(String)

This change ensures compatibility with newer Java versions and avoids unnecessary object creation.

Changes

  • Updated all deprecated Boolean constructor usages in PersonFormController
  • Replaced with Boolean.parseBoolean for safe and efficient parsing

Impact

  • No functional changes
  • Improves code quality and future compatibility

JIRA Ticket

https://openmrs.atlassian.net/browse/AOM-186

@sonarqubecloud

Copy link
Copy Markdown

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.

1 participant