[ https://issues.apache.org/jira/browse/FINERACT-2491 ]


    Dara Isaiah deleted comment on FINERACT-2491:
    ---------------------------------------

was (Author: JIRAUSER312463):
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)

Reply via email to