FINERACT-821 Added and Enforced HideUtilityClassConstructor checkstyle

This commit is contained in:
Manthan Surkar
2020-08-20 07:33:12 +03:00
committed by Petri Tuomola
parent 774fcd9265
commit 8a3c1903a4
155 changed files with 784 additions and 180 deletions
@@ -38,7 +38,11 @@ import org.slf4j.LoggerFactory;
* eventually do completely away with src/integrationTest and have only src/test.. can you help? ;)
*/
@SuppressWarnings("unchecked")
public class Utils {
public final class Utils {
private Utils() {
}
private static final Logger LOG = LoggerFactory.getLogger(Utils.class);
public static final String TENANT_IDENTIFIER = "tenantIdentifier=default";
@@ -33,7 +33,11 @@ import org.apache.fineract.portfolio.loanproduct.domain.LoanProductRelatedDetail
* This class is used to keep in one place configurations for setting up {@link LoanProductRelatedDetail} object used in
* {@link LoanScheduleGenerator} 's
*/
public class LoanProductRelatedDetailTestHelper {
public final class LoanProductRelatedDetailTestHelper {
private LoanProductRelatedDetailTestHelper() {
}
public static LoanProductRelatedDetail createSettingsForEqualPrincipalAmortizationQuarterly() {
@@ -27,7 +27,11 @@ import org.joda.time.LocalDate;
/**
* Helper class for creating loan schedule data suitable for testing.
*/
public class LoanScheduleTestDataHelper {
public final class LoanScheduleTestDataHelper {
private LoanScheduleTestDataHelper() {
}
/**
* Creates brand new three installment loan: