vorburger 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_r357920135
##########
File path:
fineract-provider/src/main/java/org/apache/fineract/portfolio/loanaccount/data/LoanTransactionData.java
##########
@@ -319,7 +319,7 @@ public LocalDate dateOf() {
}
public boolean isNotDisbursement() {
- return Integer.valueOf(1).equals(this.type.id());
+ return Integer.valueOf(1).equals(this.type.id().intValue());
Review comment:
```suggestion
return type.id() == 1
```
----------------------------------------------------------------
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