Skip to content

AOM-183: Replace deprecated Boolean constructor in OptionsFormController. - #257

Open
aadvik93 wants to merge 2 commits into
openmrs:masterfrom
aadvik93:AOM-183
Open

AOM-183: Replace deprecated Boolean constructor in OptionsFormController.#257
aadvik93 wants to merge 2 commits into
openmrs:masterfrom
aadvik93:AOM-183

Conversation

@aadvik93

Copy link
Copy Markdown

Description

The Boolean(String) constructor is deprecated and marked for removal.

This PR replaces deprecated usages in OptionsFormController with modern alternatives.

Changes

  • Replaced new Boolean(String) with Boolean.parseBoolean(String)

Impact

  • Improves code quality
  • Removes deprecated API usage
  • No functional change

Ticket

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

@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