You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@fineract.apache.org by "Satvik Mishra (Jira)" <ji...@apache.org> on 2025/12/18 16:51:00 UTC
[jira] [Resolved] (FINERACT-2415) Refactor getJobParametersMap in InlineLoanCOBExecutorServiceImpl to reduce code duplication.
[ https://issues.apache.org/jira/browse/FINERACT-2415?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Satvik Mishra resolved FINERACT-2415.
-------------------------------------
Resolution: Fixed
Resolved via Pull Request #5213: [https://github.com/apache/fineract/pull/5213|https://www.google.com/search?q=https://github.com/apache/fineract/pull/5213]
h3.
> Refactor getJobParametersMap in InlineLoanCOBExecutorServiceImpl to reduce code duplication.
> --------------------------------------------------------------------------------------------
>
> Key: FINERACT-2415
> URL: https://issues.apache.org/jira/browse/FINERACT-2415
> Project: Apache Fineract
> Issue Type: Improvement
> Components: Loan
> Affects Versions: 1.13.0
> Reporter: Satvik Mishra
> Assignee: Satvik Mishra
> Priority: Minor
> Labels: bug
> Fix For: 1.15.0
>
>
> *Context*
> Currently, in the {{InlineLoanCOBExecutorServiceImpl}} class, the {{getJobParametersMap}} method contains redundant logic. The same operations are being repeated twice within the method body instead of utilizing a reusable functional call.
> *Issue*
> The current implementation violates the DRY principle. This duplication increases maintenance overhead, reduces readability, and requires updates in multiple places for future changes.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)