FINERACT-821 Added and Enforced WhitespaceAround Checkstyle

This commit is contained in:
thesmallstar
2020-06-14 23:01:10 +02:00
committed by Michael Vorburger ⛑️
parent e78bf84ae8
commit f6f1af9e95
3 changed files with 16 additions and 14 deletions
@@ -393,7 +393,8 @@ public class Charge extends AbstractPersistableCustom {
}
}
if (isLoanCharge()) {// validate only for loan charge
// validate only for loan charge
if (isLoanCharge()) {
final String paymentModeParamName = "chargePaymentMode";
if (command.isChangeInIntegerParameterNamed(paymentModeParamName, this.chargePaymentMode)) {
final Integer newValue = command.integerValueOfParameterNamed(paymentModeParamName);
@@ -225,7 +225,7 @@ public class LoanUtilService {
private LocalDate calculateRepaymentStartingFromDate(final LocalDate actualDisbursementDate, final Loan loan, final Calendar calendar,
final CalendarHistoryDataWrapper calendarHistoryDataWrapper) {
LocalDate calculatedRepaymentsStartingFromDate = loan.getExpectedFirstRepaymentOnDate();
if (calendar != null) {// sync repayments
if (calendar != null) { // sync repayments
if (calculatedRepaymentsStartingFromDate == null && !calendar.getCalendarHistory().isEmpty()
&& calendarHistoryDataWrapper != null) {
@@ -243,8 +243,8 @@ public class LoanUtilService {
// need to have minimum number of days gap between disbursement
// and first repayment date.
final LoanProductRelatedDetail repaymentScheduleDetails = loan.repaymentScheduleDetail();
if (repaymentScheduleDetails != null) {// Not expecting to be
// null
// Not expecting to be null
if (repaymentScheduleDetails != null) {
final Integer repayEvery = repaymentScheduleDetails.getRepayEvery();
final String frequency = CalendarUtils
.getMeetingFrequencyFromPeriodFrequencyType(repaymentScheduleDetails.getRepaymentPeriodFrequencyType());