awasum commented on a change in pull request #670: FINERACT-702: Integrate
SpotBugs and fix over 300 high priority issues
URL: https://github.com/apache/fineract/pull/670#discussion_r358174578
##########
File path:
fineract-provider/src/main/java/org/apache/fineract/portfolio/charge/service/ChargeReadPlatformServiceImpl.java
##########
@@ -225,6 +225,7 @@ private void
processChargeExclusionsForLoans(ChargeTimeType[] excludeChargeTimes
sb.append(excludeChargeTimes[i].getValue());
}
excludeClause = excludeClause.append(" and c.charge_time_enum not
in(" + sb.toString() + ") ");
+ excludeClause.append(" ");
Review comment:
excludeClause is never used in this method but gets assigned a value here
which is been used by another method. So to please spotbugs, I added the
redundant line at the end.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services