Skip to content

Commit

Permalink
Checkstyle fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
galovics committed Nov 12, 2024
1 parent b7467c1 commit c2b36f8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -707,7 +707,7 @@ public static String wrongValueInLineDelinquencyActions(int line, List<String> a
String actualStr = actual.toString();

return String.format(
"%nWrong value in Delinquency actions response line %s. %nActual values in line are: %s %nExpected values in line: \s\s%s",
"%nWrong value in Delinquency actions response line %s. %nActual values in line are: %s %nExpected values in line: %s",
lineStr, actualStr, expectedStr);
}

Expand Down Expand Up @@ -743,16 +743,16 @@ public static String wrongValueInLineInInstallmentLevelDelinquencyData(int line,
String expectedStr = expected.toString();

return String.format(
"%nWrong value in Installment level delinquency data, line %s. %nActual values in line: \s\s%s %nExpected values in line: %s",
"%nWrong value in Installment level delinquency data, line %s. %nActual values in line: %s %nExpected values in line: %s",
lineStr, actualStr, expectedStr);
}

public static String wrongValueInLoanLevelDelinquencyData(List<String> actual, List<String> expected) {
String actualStr = actual.toString();
String expectedStr = expected.toString();

return String.format("%nWrong value in LOAN level delinquency data. %nActual values are:\s\s %s %nExpected values are: %s",
actualStr, expectedStr);
return String.format("%nWrong value in LOAN level delinquency data. %nActual values are: %s %nExpected values are: %s", actualStr,
expectedStr);
}

public static String nrOfLinesWrongInInstallmentLevelDelinquencyData(int actual, int expected) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -435,9 +435,9 @@ public void loanAccountDelinquencyPauseChangedBusinessEventCheck(Long loanId) th
pausePeriodEndExpected))//
.isEqualTo(pausePeriodEndExpected);//

log.debug("LoanAccountDelinquencyPauseChangedBusinessEvent -> isActiveActual:\s{}", isActiveActual);
log.debug("LoanAccountDelinquencyPauseChangedBusinessEvent -> pausePeriodStartActual:\s{}", pausePeriodStartActual);
log.debug("LoanAccountDelinquencyPauseChangedBusinessEvent -> pausePeriodEndActual:\s{}", pausePeriodEndActual);
log.debug("LoanAccountDelinquencyPauseChangedBusinessEvent -> isActiveActual: {}", isActiveActual);
log.debug("LoanAccountDelinquencyPauseChangedBusinessEvent -> pausePeriodStartActual: {}", pausePeriodStartActual);
log.debug("LoanAccountDelinquencyPauseChangedBusinessEvent -> pausePeriodEndActual: {}", pausePeriodEndActual);
}
return null;
});
Expand Down Expand Up @@ -477,7 +477,7 @@ public void installmentLevelDelinquencyRangeChangeEventCheck(Long loanId) {
loanAccountDelinquencyRangeDataV1.getInstallmentDelinquencyBuckets().size());
log.debug("Buckets:");
loanAccountDelinquencyRangeDataV1.getInstallmentDelinquencyBuckets().forEach(e -> {
log.debug("{}\s-\sTotal amount:\s{}", e.getDelinquencyRange().getClassification(), e.getAmount().getTotalAmount());
log.debug("{} - Total amount: {}", e.getDelinquencyRange().getClassification(), e.getAmount().getTotalAmount());
});

return null;
Expand Down

0 comments on commit c2b36f8

Please sign in to comment.