[
https://issues.apache.org/jira/browse/FINERACT-2630?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Berk Emir resolved FINERACT-2630.
---------------------------------
Resolution: Fixed
> Use Collection.isEmpty() instead of size() comparison in fineract-savings
> -------------------------------------------------------------------------
>
> Key: FINERACT-2630
> URL: https://issues.apache.org/jira/browse/FINERACT-2630
> Project: Apache Fineract
> Issue Type: Improvement
> Reporter: Berk Emir
> Priority: Major
>
> Following the cleanup done in FINERACT-2627 for the fineract-loan module,
> several Collection.size() > 0 emptiness checks remain in the fineract-savings
> module. These should use Collection.isEmpty(), which is more readable and
> clearly expresses intent (SonarQube rule java:S1155). This applies the same
> refactor to SavingsAccount, SavingsAccountRepositoryWrapper and
> SavingsSchedularInterestPoster. No behavioural change.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)