[
https://issues.apache.org/jira/browse/FINERACT-2491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18058789#comment-18058789
]
Dara Isaiah commented on FINERACT-2491:
---------------------------------------
Hey [~abdelrahman] Is this up for grabs? Could raise a PR
> Refactor SavingsEnumerations to use switch expression instead of if-else
> chains
> -------------------------------------------------------------------------------
>
> Key: FINERACT-2491
> URL: https://issues.apache.org/jira/browse/FINERACT-2491
> Project: Apache Fineract
> Issue Type: Improvement
> Reporter: abdelrahman
> Priority: Minor
>
> The SavingsEnumerations class currently uses chains of if-else statements in
> the savingEnumueration() method, which reduces code readability and
> maintainability. This refactoring replaces the if-else chain with a switch
> expression to improve readability and maintainability.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)