Refactored the code in order to not assign to the loop counter from within the loop... 46/128346/3
authorsharath reddy <bs.reddy@huawei.com>
Thu, 7 Apr 2022 03:42:38 +0000 (09:12 +0530)
committersharath reddy <bs.reddy@huawei.com>
Thu, 7 Apr 2022 06:59:59 +0000 (12:29 +0530)
commit23a3b1180c21e3cd33b758492d32dc827d60ccce
tree6e9addcc01a62a75e8cd1fdbc7e1c930f84b68fa
parent72066573dfc31cecc274a38b7c75ea05e29680a4
Refactored the code in order to not assign to the loop counter from within the loop body.

alias: "for" loop stop conditions should be invariant

Issue-ID: CLI-439

report: tested weather-report, execution-list

Signed-off-by: sharath reddy <bs.reddy@huawei.com>
Change-Id: I5c4066b7b68de1882345fc1ffc53750bb9718fca
Signed-off-by: sharath reddy <bs.reddy@huawei.com>
main/src/main/java/org/onap/cli/main/utils/OnapCliArgsParser.java