[ 
https://issues.apache.org/jira/browse/FINERACT-2415?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18044127#comment-18044127
 ] 

Satvik Mishra commented on FINERACT-2415:
-----------------------------------------

Hi, I identified this issue and would like to work on it. Could you please 
assign this ticket to me?

*Proposed Solution:* I plan to refactor {{InlineLoanCOBExecutorServiceImpl}} by 
extracting the duplicated logic inside {{getJobParametersMap}} into a private 
helper method.

> 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
>            Priority: Minor
>              Labels: bug
>
> *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)

Reply via email to