FINERACT-971 Added and enforced AvoidNoArgumentSuperConstructorCall Checkstyle
This commit is contained in:
committed by
Michael Vorburger ⛑️
parent
1f462613fb
commit
bcd42b9cb9
@@ -192,6 +192,7 @@
|
|||||||
<message key="name.invalidPattern"
|
<message key="name.invalidPattern"
|
||||||
value="Local variable name ''{0}'' must match pattern ''{1}''."/>
|
value="Local variable name ''{0}'' must match pattern ''{1}''."/>
|
||||||
</module>
|
</module>
|
||||||
|
<module name="AvoidNoArgumentSuperConstructorCall"/>
|
||||||
<!-- TODO Enable many more checks (go about this one by one, step by step, raise separate PRs fixing and then enforcing):
|
<!-- TODO Enable many more checks (go about this one by one, step by step, raise separate PRs fixing and then enforcing):
|
||||||
|
|
||||||
<module name="HiddenField">
|
<module name="HiddenField">
|
||||||
|
|||||||
+1
-1
@@ -52,7 +52,7 @@ public class BatchRequestsIntegrationTest {
|
|||||||
private RequestSpecification requestSpec;
|
private RequestSpecification requestSpec;
|
||||||
|
|
||||||
public BatchRequestsIntegrationTest() {
|
public BatchRequestsIntegrationTest() {
|
||||||
super();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
+1
-1
@@ -46,7 +46,7 @@ public final class BatchHelper {
|
|||||||
private static final String BATCH_API_URL_EXT = BATCH_API_URL + "&enclosingTransaction=true";
|
private static final String BATCH_API_URL_EXT = BATCH_API_URL + "&enclosingTransaction=true";
|
||||||
|
|
||||||
private BatchHelper() {
|
private BatchHelper() {
|
||||||
super();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
+2
-2
@@ -54,12 +54,12 @@ public class CurrencyDomain implements Comparable<CurrencyDomain> {
|
|||||||
private String displayLabel;
|
private String displayLabel;
|
||||||
|
|
||||||
CurrencyDomain() {
|
CurrencyDomain() {
|
||||||
super();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private CurrencyDomain(final String code, final String name, final int decimalPlaces, final String displaySymbol, final String nameCode,
|
private CurrencyDomain(final String code, final String name, final int decimalPlaces, final String displaySymbol, final String nameCode,
|
||||||
final String displayLabel) {
|
final String displayLabel) {
|
||||||
super();
|
|
||||||
this.code = code;
|
this.code = code;
|
||||||
this.name = name;
|
this.name = name;
|
||||||
this.decimalPlaces = decimalPlaces;
|
this.decimalPlaces = decimalPlaces;
|
||||||
|
|||||||
+2
-2
@@ -55,12 +55,12 @@ public class OfficeDomain {
|
|||||||
private String hierarchy;
|
private String hierarchy;
|
||||||
|
|
||||||
OfficeDomain() {
|
OfficeDomain() {
|
||||||
super();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private OfficeDomain(final int id, final String name, final String nameDecorated, final String externalId, final String[] openingDate,
|
private OfficeDomain(final int id, final String name, final String nameDecorated, final String externalId, final String[] openingDate,
|
||||||
final String hierarchy) {
|
final String hierarchy) {
|
||||||
super();
|
|
||||||
this.id = id;
|
this.id = id;
|
||||||
this.name = name;
|
this.name = name;
|
||||||
this.nameDecorated = nameDecorated;
|
this.nameDecorated = nameDecorated;
|
||||||
|
|||||||
+2
-2
@@ -47,11 +47,11 @@ public class FundsHelper {
|
|||||||
private Long resourceId;
|
private Long resourceId;
|
||||||
|
|
||||||
FundsHelper() {
|
FundsHelper() {
|
||||||
super();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private FundsHelper(final String name, final String externalId) {
|
private FundsHelper(final String name, final String externalId) {
|
||||||
super();
|
|
||||||
this.name = name;
|
this.name = name;
|
||||||
this.externalId = externalId;
|
this.externalId = externalId;
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -39,7 +39,7 @@ public class FinancialActivityData {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public FinancialActivityData(Integer id, String name, GLAccountType mappedGLAccountType) {
|
public FinancialActivityData(Integer id, String name, GLAccountType mappedGLAccountType) {
|
||||||
super();
|
|
||||||
this.id = id;
|
this.id = id;
|
||||||
this.name = name;
|
this.name = name;
|
||||||
this.mappedGLAccountType = mappedGLAccountType;
|
this.mappedGLAccountType = mappedGLAccountType;
|
||||||
|
|||||||
+1
-1
@@ -29,7 +29,7 @@ public class ClientChargePaymentDTO {
|
|||||||
private final Long incomeAccountId;
|
private final Long incomeAccountId;
|
||||||
|
|
||||||
public ClientChargePaymentDTO(Long chargeId, BigDecimal amount, Long clientChargeId, boolean isPenalty, Long incomeAccountId) {
|
public ClientChargePaymentDTO(Long chargeId, BigDecimal amount, Long clientChargeId, boolean isPenalty, Long incomeAccountId) {
|
||||||
super();
|
|
||||||
this.chargeId = chargeId;
|
this.chargeId = chargeId;
|
||||||
this.amount = amount;
|
this.amount = amount;
|
||||||
this.clientChargeId = clientChargeId;
|
this.clientChargeId = clientChargeId;
|
||||||
|
|||||||
+1
-1
@@ -55,7 +55,7 @@ public class ErrorHandler extends RuntimeException {
|
|||||||
* Sole Constructor
|
* Sole Constructor
|
||||||
*/
|
*/
|
||||||
ErrorHandler() {
|
ErrorHandler() {
|
||||||
super();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ public final class ErrorInfo {
|
|||||||
* @param message
|
* @param message
|
||||||
*/
|
*/
|
||||||
public ErrorInfo(final Integer statusCode, final Integer errorCode, final String message) {
|
public ErrorInfo(final Integer statusCode, final Integer errorCode, final String message) {
|
||||||
super();
|
|
||||||
this.statusCode = statusCode;
|
this.statusCode = statusCode;
|
||||||
this.errorCode = errorCode;
|
this.errorCode = errorCode;
|
||||||
this.message = message;
|
this.message = message;
|
||||||
@@ -49,7 +49,7 @@ public final class ErrorInfo {
|
|||||||
* Constructor so JSON serialization will work with out special Serialiazer
|
* Constructor so JSON serialization will work with out special Serialiazer
|
||||||
*/
|
*/
|
||||||
ErrorInfo() {
|
ErrorInfo() {
|
||||||
super();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
+1
-1
@@ -55,7 +55,7 @@ public class ResolutionHelper {
|
|||||||
private final List<BatchRequestNode> childRequests = new ArrayList<>();
|
private final List<BatchRequestNode> childRequests = new ArrayList<>();
|
||||||
|
|
||||||
public BatchRequestNode() {
|
public BatchRequestNode() {
|
||||||
super();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public BatchRequest getRequest() {
|
public BatchRequest getRequest() {
|
||||||
|
|||||||
+1
-1
@@ -55,7 +55,7 @@ public class CommandHandlerProvider implements ApplicationContextAware {
|
|||||||
private HashMap<String, String> registeredHandlers;
|
private HashMap<String, String> registeredHandlers;
|
||||||
|
|
||||||
CommandHandlerProvider() {
|
CommandHandlerProvider() {
|
||||||
super();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
+1
-1
@@ -27,7 +27,7 @@ import org.apache.openjpa.jdbc.sql.MySQLDictionary;
|
|||||||
public class MySQLDictionaryCustom extends MySQLDictionary {
|
public class MySQLDictionaryCustom extends MySQLDictionary {
|
||||||
|
|
||||||
public MySQLDictionaryCustom() {
|
public MySQLDictionaryCustom() {
|
||||||
super();
|
|
||||||
this.supportsSubselect = true;
|
this.supportsSubselect = true;
|
||||||
this.booleanRepresentation = BooleanRepresentationFactory.BOOLEAN;
|
this.booleanRepresentation = BooleanRepresentationFactory.BOOLEAN;
|
||||||
this.supportsGetGeneratedKeys = false;
|
this.supportsGetGeneratedKeys = false;
|
||||||
|
|||||||
+1
-1
@@ -27,7 +27,7 @@ public class HookEventSource implements Serializable {
|
|||||||
private final String actionName;
|
private final String actionName;
|
||||||
|
|
||||||
public HookEventSource(final String entityName, final String actionName) {
|
public HookEventSource(final String entityName, final String actionName) {
|
||||||
super();
|
|
||||||
this.entityName = entityName;
|
this.entityName = entityName;
|
||||||
this.actionName = actionName;
|
this.actionName = actionName;
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -43,7 +43,7 @@ public class ReportingProcessServiceProvider implements ApplicationContextAware
|
|||||||
Map<String, String> reportingProcessServices = null;
|
Map<String, String> reportingProcessServices = null;
|
||||||
|
|
||||||
ReportingProcessServiceProvider() {
|
ReportingProcessServiceProvider() {
|
||||||
super();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public ReportingProcessService findReportingProcessService(final String reportType) {
|
public ReportingProcessService findReportingProcessService(final String reportType) {
|
||||||
|
|||||||
+1
-1
@@ -77,7 +77,7 @@ public class TellerApiResource {
|
|||||||
public TellerApiResource(PlatformSecurityContext securityContext, DefaultToApiJsonSerializer<TellerData> jsonSerializer,
|
public TellerApiResource(PlatformSecurityContext securityContext, DefaultToApiJsonSerializer<TellerData> jsonSerializer,
|
||||||
TellerManagementReadPlatformService readPlatformService,
|
TellerManagementReadPlatformService readPlatformService,
|
||||||
PortfolioCommandSourceWritePlatformService commandWritePlatformService) {
|
PortfolioCommandSourceWritePlatformService commandWritePlatformService) {
|
||||||
super();
|
|
||||||
this.securityContext = securityContext;
|
this.securityContext = securityContext;
|
||||||
this.jsonSerializer = jsonSerializer;
|
this.jsonSerializer = jsonSerializer;
|
||||||
this.readPlatformService = readPlatformService;
|
this.readPlatformService = readPlatformService;
|
||||||
|
|||||||
+1
-1
@@ -50,7 +50,7 @@ public class TellerJournalApiResource {
|
|||||||
@Autowired
|
@Autowired
|
||||||
public TellerJournalApiResource(final PlatformSecurityContext securityContext,
|
public TellerJournalApiResource(final PlatformSecurityContext securityContext,
|
||||||
final DefaultToApiJsonSerializer<TellerData> jsonSerializer, final TellerManagementReadPlatformService readPlatformService) {
|
final DefaultToApiJsonSerializer<TellerData> jsonSerializer, final TellerManagementReadPlatformService readPlatformService) {
|
||||||
super();
|
|
||||||
this.securityContext = securityContext;
|
this.securityContext = securityContext;
|
||||||
this.jsonSerializer = jsonSerializer;
|
this.jsonSerializer = jsonSerializer;
|
||||||
this.readPlatformService = readPlatformService;
|
this.readPlatformService = readPlatformService;
|
||||||
|
|||||||
+1
-1
@@ -60,7 +60,7 @@ public final class TellerData implements Serializable {
|
|||||||
private TellerData(final Long id, final Long officeId, final Long debitAccountId, final Long creditAccountId, final String name,
|
private TellerData(final Long id, final Long officeId, final Long debitAccountId, final Long creditAccountId, final String name,
|
||||||
final String description, final LocalDate startDate, final LocalDate endDate, final TellerStatus status,
|
final String description, final LocalDate startDate, final LocalDate endDate, final TellerStatus status,
|
||||||
final Boolean hasTransactions, final Boolean hasMappedCashiers) {
|
final Boolean hasTransactions, final Boolean hasMappedCashiers) {
|
||||||
super();
|
|
||||||
this.id = id;
|
this.id = id;
|
||||||
this.officeId = officeId;
|
this.officeId = officeId;
|
||||||
this.debitAccountId = debitAccountId;
|
this.debitAccountId = debitAccountId;
|
||||||
|
|||||||
+1
-1
@@ -88,7 +88,7 @@ public class Cashier extends AbstractPersistableCustom {
|
|||||||
* Creates a new cashier.
|
* Creates a new cashier.
|
||||||
*/
|
*/
|
||||||
public Cashier() {
|
public Cashier() {
|
||||||
super();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static Cashier fromJson(final Office cashierOffice, final Teller teller, final Staff staff, final String startTime,
|
public static Cashier fromJson(final Office cashierOffice, final Teller teller, final Staff staff, final String startTime,
|
||||||
|
|||||||
+1
-1
@@ -80,7 +80,7 @@ public class CashierTransaction extends AbstractPersistableCustom {
|
|||||||
* Creates a new cashier.
|
* Creates a new cashier.
|
||||||
*/
|
*/
|
||||||
public CashierTransaction() {
|
public CashierTransaction() {
|
||||||
super();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static CashierTransaction fromJson(final Cashier cashier, final JsonCommand command) {
|
public static CashierTransaction fromJson(final Cashier cashier, final JsonCommand command) {
|
||||||
|
|||||||
+1
-1
@@ -76,7 +76,7 @@ public class Teller extends AbstractPersistableCustom {
|
|||||||
private Set<Cashier> cashiers;
|
private Set<Cashier> cashiers;
|
||||||
|
|
||||||
public Teller() {
|
public Teller() {
|
||||||
super();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private Teller(final Office staffOffice, final String name, final String description, final LocalDate startDate,
|
private Teller(final Office staffOffice, final String name, final String description, final LocalDate startDate,
|
||||||
|
|||||||
+1
-1
@@ -62,7 +62,7 @@ public class TellerTransaction extends AbstractPersistableCustom {
|
|||||||
private Date postingDate;
|
private Date postingDate;
|
||||||
|
|
||||||
public TellerTransaction() {
|
public TellerTransaction() {
|
||||||
super();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public Office getOffice() {
|
public Office getOffice() {
|
||||||
|
|||||||
+1
-1
@@ -40,7 +40,7 @@ public class AllocateCashToCashierCommandHandler implements NewCommandSourceHand
|
|||||||
*/
|
*/
|
||||||
@Autowired
|
@Autowired
|
||||||
public AllocateCashToCashierCommandHandler(final TellerWritePlatformService writePlatformService) {
|
public AllocateCashToCashierCommandHandler(final TellerWritePlatformService writePlatformService) {
|
||||||
super();
|
|
||||||
this.writePlatformService = writePlatformService;
|
this.writePlatformService = writePlatformService;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -40,7 +40,7 @@ public class AllocateCashierToTellerCommandHandler implements NewCommandSourceHa
|
|||||||
*/
|
*/
|
||||||
@Autowired
|
@Autowired
|
||||||
public AllocateCashierToTellerCommandHandler(final TellerWritePlatformService writePlatformService) {
|
public AllocateCashierToTellerCommandHandler(final TellerWritePlatformService writePlatformService) {
|
||||||
super();
|
|
||||||
this.writePlatformService = writePlatformService;
|
this.writePlatformService = writePlatformService;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -30,7 +30,7 @@ public class CreateTellerTransactionCommandHandler implements NewCommandSourceHa
|
|||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
public CreateTellerTransactionCommandHandler(final TellerTransactionWritePlatformService writePlatformService) {
|
public CreateTellerTransactionCommandHandler(final TellerTransactionWritePlatformService writePlatformService) {
|
||||||
super();
|
|
||||||
this.writePlatformService = writePlatformService;
|
this.writePlatformService = writePlatformService;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -47,7 +47,7 @@ public class DeleteCashierAllocationCommandHandler implements NewCommandSourceHa
|
|||||||
*/
|
*/
|
||||||
@Autowired
|
@Autowired
|
||||||
public DeleteCashierAllocationCommandHandler(final TellerWritePlatformService writePlatformService) {
|
public DeleteCashierAllocationCommandHandler(final TellerWritePlatformService writePlatformService) {
|
||||||
super();
|
|
||||||
this.writePlatformService = writePlatformService;
|
this.writePlatformService = writePlatformService;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -47,7 +47,7 @@ public class DeleteTellerCommandHandler implements NewCommandSourceHandler {
|
|||||||
*/
|
*/
|
||||||
@Autowired
|
@Autowired
|
||||||
public DeleteTellerCommandHandler(final TellerWritePlatformService writePlatformService) {
|
public DeleteTellerCommandHandler(final TellerWritePlatformService writePlatformService) {
|
||||||
super();
|
|
||||||
this.writePlatformService = writePlatformService;
|
this.writePlatformService = writePlatformService;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -43,7 +43,7 @@ public class ModifyCashierCommandHandler implements NewCommandSourceHandler {
|
|||||||
*/
|
*/
|
||||||
@Autowired
|
@Autowired
|
||||||
public ModifyCashierCommandHandler(final CashierWritePlatformService writePlatformService) {
|
public ModifyCashierCommandHandler(final CashierWritePlatformService writePlatformService) {
|
||||||
super();
|
|
||||||
this.writePlatformService = writePlatformService;
|
this.writePlatformService = writePlatformService;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -40,7 +40,7 @@ public class SettleCashFromCashierCommandHandler implements NewCommandSourceHand
|
|||||||
*/
|
*/
|
||||||
@Autowired
|
@Autowired
|
||||||
public SettleCashFromCashierCommandHandler(final TellerWritePlatformService writePlatformService) {
|
public SettleCashFromCashierCommandHandler(final TellerWritePlatformService writePlatformService) {
|
||||||
super();
|
|
||||||
this.writePlatformService = writePlatformService;
|
this.writePlatformService = writePlatformService;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -47,7 +47,7 @@ public class UpdateCashierAllocationCommandHandler implements NewCommandSourceHa
|
|||||||
*/
|
*/
|
||||||
@Autowired
|
@Autowired
|
||||||
public UpdateCashierAllocationCommandHandler(final TellerWritePlatformService writePlatformService) {
|
public UpdateCashierAllocationCommandHandler(final TellerWritePlatformService writePlatformService) {
|
||||||
super();
|
|
||||||
this.writePlatformService = writePlatformService;
|
this.writePlatformService = writePlatformService;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -47,7 +47,7 @@ public class UpdateTellerCommandHandler implements NewCommandSourceHandler {
|
|||||||
*/
|
*/
|
||||||
@Autowired
|
@Autowired
|
||||||
public UpdateTellerCommandHandler(final TellerWritePlatformService writePlatformService) {
|
public UpdateTellerCommandHandler(final TellerWritePlatformService writePlatformService) {
|
||||||
super();
|
|
||||||
this.writePlatformService = writePlatformService;
|
this.writePlatformService = writePlatformService;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -36,7 +36,7 @@ public class DateRange {
|
|||||||
private Date endDate;
|
private Date endDate;
|
||||||
|
|
||||||
public DateRange() {
|
public DateRange() {
|
||||||
super();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public Date getStartDate() {
|
public Date getStartDate() {
|
||||||
|
|||||||
+1
-1
@@ -118,7 +118,7 @@ public final class ClientChargeData {
|
|||||||
EnumOptionData chargeCalculationType, CurrencyData currency, BigDecimal amount, BigDecimal amountPaid, BigDecimal amountWaived,
|
EnumOptionData chargeCalculationType, CurrencyData currency, BigDecimal amount, BigDecimal amountPaid, BigDecimal amountWaived,
|
||||||
BigDecimal amountWrittenOff, BigDecimal amountOutstanding, boolean penalty, Boolean isPaid, Boolean isWaived, Boolean isActive,
|
BigDecimal amountWrittenOff, BigDecimal amountOutstanding, boolean penalty, Boolean isPaid, Boolean isWaived, Boolean isActive,
|
||||||
LocalDate inactivationDate, Collection<ChargeData> chargeOptions, Collection<ClientTransactionData> clientTransactionDatas) {
|
LocalDate inactivationDate, Collection<ChargeData> chargeOptions, Collection<ClientTransactionData> clientTransactionDatas) {
|
||||||
super();
|
|
||||||
this.id = id;
|
this.id = id;
|
||||||
this.clientId = clientId;
|
this.clientId = clientId;
|
||||||
this.chargeId = chargeId;
|
this.chargeId = chargeId;
|
||||||
|
|||||||
+1
-1
@@ -62,7 +62,7 @@ public class ClientNonPersonData implements Serializable {
|
|||||||
|
|
||||||
public ClientNonPersonData(CodeValueData constitution, String incorpNo, LocalDate incorpValidityTillDate,
|
public ClientNonPersonData(CodeValueData constitution, String incorpNo, LocalDate incorpValidityTillDate,
|
||||||
CodeValueData mainBusinessLine, String remarks) {
|
CodeValueData mainBusinessLine, String remarks) {
|
||||||
super();
|
|
||||||
this.constitution = constitution;
|
this.constitution = constitution;
|
||||||
this.incorpNumber = incorpNo;
|
this.incorpNumber = incorpNo;
|
||||||
this.incorpValidityTillDate = incorpValidityTillDate;
|
this.incorpValidityTillDate = incorpValidityTillDate;
|
||||||
|
|||||||
+1
-1
@@ -55,7 +55,7 @@ public final class ClientTransactionData {
|
|||||||
private ClientTransactionData(Long id, Long officeId, String officeName, EnumOptionData type, LocalDate date, CurrencyData currency,
|
private ClientTransactionData(Long id, Long officeId, String officeName, EnumOptionData type, LocalDate date, CurrencyData currency,
|
||||||
PaymentDetailData paymentDetailData, BigDecimal amount, String externalId, LocalDate submittedOnDate, boolean reversed,
|
PaymentDetailData paymentDetailData, BigDecimal amount, String externalId, LocalDate submittedOnDate, boolean reversed,
|
||||||
Collection<PaymentTypeData> paymentTypeOptions) {
|
Collection<PaymentTypeData> paymentTypeOptions) {
|
||||||
super();
|
|
||||||
this.id = id;
|
this.id = id;
|
||||||
this.officeId = officeId;
|
this.officeId = officeId;
|
||||||
this.officeName = officeName;
|
this.officeName = officeName;
|
||||||
|
|||||||
+1
-1
@@ -120,7 +120,7 @@ public class ClientTransaction extends AbstractPersistableCustom {
|
|||||||
|
|
||||||
public ClientTransaction(Client client, Office office, PaymentDetail paymentDetail, Integer typeOf, LocalDate transactionLocalDate,
|
public ClientTransaction(Client client, Office office, PaymentDetail paymentDetail, Integer typeOf, LocalDate transactionLocalDate,
|
||||||
Money amount, boolean reversed, String externalId, Date createdDate, String currencyCode, AppUser appUser) {
|
Money amount, boolean reversed, String externalId, Date createdDate, String currencyCode, AppUser appUser) {
|
||||||
super();
|
|
||||||
this.client = client;
|
this.client = client;
|
||||||
this.office = office;
|
this.office = office;
|
||||||
this.paymentDetail = paymentDetail;
|
this.paymentDetail = paymentDetail;
|
||||||
|
|||||||
+1
-1
@@ -36,7 +36,7 @@ public class GroupLevelData {
|
|||||||
public GroupLevelData(final Long levelId, final String levelName, final Long parentLevelId, final String parentLevelName,
|
public GroupLevelData(final Long levelId, final String levelName, final Long parentLevelId, final String parentLevelName,
|
||||||
final Long childLevelId, final String childLevelName, final boolean superParent, final boolean recursable,
|
final Long childLevelId, final String childLevelName, final boolean superParent, final boolean recursable,
|
||||||
final boolean canHaveClients) {
|
final boolean canHaveClients) {
|
||||||
super();
|
|
||||||
this.levelId = levelId;
|
this.levelId = levelId;
|
||||||
this.levelName = levelName;
|
this.levelName = levelName;
|
||||||
this.parentLevelId = parentLevelId;
|
this.parentLevelId = parentLevelId;
|
||||||
|
|||||||
+1
-1
@@ -302,7 +302,7 @@ public class LoanTransaction extends AbstractPersistableCustom {
|
|||||||
final BigDecimal principalPortion, final BigDecimal interestPortion, final BigDecimal feeChargesPortion,
|
final BigDecimal principalPortion, final BigDecimal interestPortion, final BigDecimal feeChargesPortion,
|
||||||
final BigDecimal penaltyChargesPortion, final BigDecimal overPaymentPortion, final boolean reversed,
|
final BigDecimal penaltyChargesPortion, final BigDecimal overPaymentPortion, final boolean reversed,
|
||||||
final PaymentDetail paymentDetail, final String externalId, final LocalDateTime createdDate, final AppUser appUser) {
|
final PaymentDetail paymentDetail, final String externalId, final LocalDateTime createdDate, final AppUser appUser) {
|
||||||
super();
|
|
||||||
this.loan = loan;
|
this.loan = loan;
|
||||||
this.typeOf = typeOf;
|
this.typeOf = typeOf;
|
||||||
this.dateOf = dateOf;
|
this.dateOf = dateOf;
|
||||||
|
|||||||
+1
-1
@@ -74,7 +74,7 @@ public class PaymentTypeApiResource {
|
|||||||
public PaymentTypeApiResource(PlatformSecurityContext securityContext, DefaultToApiJsonSerializer<PaymentTypeData> jsonSerializer,
|
public PaymentTypeApiResource(PlatformSecurityContext securityContext, DefaultToApiJsonSerializer<PaymentTypeData> jsonSerializer,
|
||||||
PaymentTypeReadPlatformService readPlatformService, PaymentTypeRepositoryWrapper paymentTypeRepositoryWrapper,
|
PaymentTypeReadPlatformService readPlatformService, PaymentTypeRepositoryWrapper paymentTypeRepositoryWrapper,
|
||||||
ApiRequestParameterHelper apiRequestParameterHelper, PortfolioCommandSourceWritePlatformService commandWritePlatformService) {
|
ApiRequestParameterHelper apiRequestParameterHelper, PortfolioCommandSourceWritePlatformService commandWritePlatformService) {
|
||||||
super();
|
|
||||||
this.securityContext = securityContext;
|
this.securityContext = securityContext;
|
||||||
this.jsonSerializer = jsonSerializer;
|
this.jsonSerializer = jsonSerializer;
|
||||||
this.readPlatformService = readPlatformService;
|
this.readPlatformService = readPlatformService;
|
||||||
|
|||||||
+1
-1
@@ -96,7 +96,7 @@ public class DepositAccountTermAndPreClosure extends AbstractPersistableCustom {
|
|||||||
private Long transferToSavingsAccountId;
|
private Long transferToSavingsAccountId;
|
||||||
|
|
||||||
protected DepositAccountTermAndPreClosure() {
|
protected DepositAccountTermAndPreClosure() {
|
||||||
super();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static DepositAccountTermAndPreClosure createNew(DepositPreClosureDetail preClosureDetail, DepositTermDetail depositTermDetail,
|
public static DepositAccountTermAndPreClosure createNew(DepositPreClosureDetail preClosureDetail, DepositTermDetail depositTermDetail,
|
||||||
|
|||||||
+1
-1
@@ -40,7 +40,7 @@ public class DepositProductRecurringDetail extends AbstractPersistableCustom {
|
|||||||
private RecurringDepositProduct product;
|
private RecurringDepositProduct product;
|
||||||
|
|
||||||
protected DepositProductRecurringDetail() {
|
protected DepositProductRecurringDetail() {
|
||||||
super();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static DepositProductRecurringDetail createNew(DepositRecurringDetail recurringDetail, SavingsProduct product) {
|
public static DepositProductRecurringDetail createNew(DepositRecurringDetail recurringDetail, SavingsProduct product) {
|
||||||
|
|||||||
+1
-1
@@ -47,7 +47,7 @@ public class DepositProductTermAndPreClosure extends AbstractPersistableCustom {
|
|||||||
private DepositProductAmountDetails depositProductAmountDetails;
|
private DepositProductAmountDetails depositProductAmountDetails;
|
||||||
|
|
||||||
protected DepositProductTermAndPreClosure() {
|
protected DepositProductTermAndPreClosure() {
|
||||||
super();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static DepositProductTermAndPreClosure createNew(DepositPreClosureDetail preClosureDetail, DepositTermDetail depositTermDetail,
|
public static DepositProductTermAndPreClosure createNew(DepositPreClosureDetail preClosureDetail, DepositTermDetail depositTermDetail,
|
||||||
|
|||||||
+1
-1
@@ -77,7 +77,7 @@ public class FixedDepositProduct extends SavingsProduct {
|
|||||||
protected InterestRateChartAssembler chartAssembler;
|
protected InterestRateChartAssembler chartAssembler;
|
||||||
|
|
||||||
protected FixedDepositProduct() {
|
protected FixedDepositProduct() {
|
||||||
super();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static FixedDepositProduct createNew(final String name, final String shortName, final String description,
|
public static FixedDepositProduct createNew(final String name, final String shortName, final String description,
|
||||||
|
|||||||
+1
-1
@@ -55,7 +55,7 @@ public class RecurringDepositProduct extends FixedDepositProduct {
|
|||||||
private DepositProductRecurringDetail recurringDetail;
|
private DepositProductRecurringDetail recurringDetail;
|
||||||
|
|
||||||
protected RecurringDepositProduct() {
|
protected RecurringDepositProduct() {
|
||||||
super();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static RecurringDepositProduct createNew(final String name, final String shortName, final String description,
|
public static RecurringDepositProduct createNew(final String name, final String shortName, final String description,
|
||||||
|
|||||||
+1
-1
@@ -62,7 +62,7 @@ public class LookupTableApiResource {
|
|||||||
@Autowired
|
@Autowired
|
||||||
public LookupTableApiResource(final PlatformSecurityContext securityContext, final SpmService spmService,
|
public LookupTableApiResource(final PlatformSecurityContext securityContext, final SpmService spmService,
|
||||||
final LookupTableService lookupTableService) {
|
final LookupTableService lookupTableService) {
|
||||||
super();
|
|
||||||
this.securityContext = securityContext;
|
this.securityContext = securityContext;
|
||||||
this.spmService = spmService;
|
this.spmService = spmService;
|
||||||
this.lookupTableService = lookupTableService;
|
this.lookupTableService = lookupTableService;
|
||||||
|
|||||||
@@ -27,11 +27,11 @@ public class ComponentData {
|
|||||||
private Integer sequenceNo;
|
private Integer sequenceNo;
|
||||||
|
|
||||||
public ComponentData() {
|
public ComponentData() {
|
||||||
super();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public ComponentData(final Long id, final String key, final String text, final String description, final Integer sequenceNo) {
|
public ComponentData(final Long id, final String key, final String text, final String description, final Integer sequenceNo) {
|
||||||
super();
|
|
||||||
this.id = id;
|
this.id = id;
|
||||||
this.key = key;
|
this.key = key;
|
||||||
this.text = text;
|
this.text = text;
|
||||||
|
|||||||
@@ -27,11 +27,11 @@ public class LookupTableData {
|
|||||||
private List<LookupTableEntry> entries;
|
private List<LookupTableEntry> entries;
|
||||||
|
|
||||||
public LookupTableData() {
|
public LookupTableData() {
|
||||||
super();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public LookupTableData(final String key, final String description, final List<LookupTableEntry> entries) {
|
public LookupTableData(final String key, final String description, final List<LookupTableEntry> entries) {
|
||||||
super();
|
|
||||||
this.key = key;
|
this.key = key;
|
||||||
this.description = description;
|
this.description = description;
|
||||||
this.entries = entries;
|
this.entries = entries;
|
||||||
|
|||||||
@@ -25,11 +25,11 @@ public class LookupTableEntry {
|
|||||||
private Double score;
|
private Double score;
|
||||||
|
|
||||||
public LookupTableEntry() {
|
public LookupTableEntry() {
|
||||||
super();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public LookupTableEntry(final Integer valueFrom, final Integer valueTo, final Double score) {
|
public LookupTableEntry(final Integer valueFrom, final Integer valueTo, final Double score) {
|
||||||
super();
|
|
||||||
this.valueFrom = valueFrom;
|
this.valueFrom = valueFrom;
|
||||||
this.valueTo = valueTo;
|
this.valueTo = valueTo;
|
||||||
this.score = score;
|
this.score = score;
|
||||||
|
|||||||
@@ -31,12 +31,12 @@ public class QuestionData {
|
|||||||
private Integer sequenceNo;
|
private Integer sequenceNo;
|
||||||
|
|
||||||
public QuestionData() {
|
public QuestionData() {
|
||||||
super();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public QuestionData(final Long id, final List<ResponseData> responseDatas, final String componentKey, final String key,
|
public QuestionData(final Long id, final List<ResponseData> responseDatas, final String componentKey, final String key,
|
||||||
final String text, final String description, final Integer sequenceNo) {
|
final String text, final String description, final Integer sequenceNo) {
|
||||||
super();
|
|
||||||
this.id = id;
|
this.id = id;
|
||||||
this.responseDatas = responseDatas;
|
this.responseDatas = responseDatas;
|
||||||
this.componentKey = componentKey;
|
this.componentKey = componentKey;
|
||||||
|
|||||||
@@ -26,11 +26,11 @@ public class ResponseData {
|
|||||||
private Integer sequenceNo;
|
private Integer sequenceNo;
|
||||||
|
|
||||||
public ResponseData() {
|
public ResponseData() {
|
||||||
super();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public ResponseData(final Long id, final String text, final Integer value, final Integer sequenceNo) {
|
public ResponseData(final Long id, final String text, final Integer value, final Integer sequenceNo) {
|
||||||
super();
|
|
||||||
this.id = id;
|
this.id = id;
|
||||||
this.text = text;
|
this.text = text;
|
||||||
this.value = value;
|
this.value = value;
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ public class ScorecardData {
|
|||||||
private List<ScorecardValue> scorecardValues;
|
private List<ScorecardValue> scorecardValues;
|
||||||
|
|
||||||
public ScorecardData() {
|
public ScorecardData() {
|
||||||
super();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private ScorecardData(final Long id, final Long userId, final String username, final Long surveyId, final String surveyName,
|
private ScorecardData(final Long id, final Long userId, final String username, final Long surveyId, final String surveyName,
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ public class ScorecardValue {
|
|||||||
private Date createdOn;
|
private Date createdOn;
|
||||||
|
|
||||||
public ScorecardValue() {
|
public ScorecardValue() {
|
||||||
super();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private ScorecardValue(final Long questionId, final Long responseId, final Integer value, final Date createdOn) {
|
private ScorecardValue(final Long questionId, final Long responseId, final Integer value, final Date createdOn) {
|
||||||
|
|||||||
@@ -34,12 +34,12 @@ public class SurveyData {
|
|||||||
private Date validTo;
|
private Date validTo;
|
||||||
|
|
||||||
public SurveyData() {
|
public SurveyData() {
|
||||||
super();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public SurveyData(final Long id, final List<ComponentData> componentDatas, final List<QuestionData> questionDatas, final String key,
|
public SurveyData(final Long id, final List<ComponentData> componentDatas, final List<QuestionData> questionDatas, final String key,
|
||||||
final String name, final String description, final String countryCode, final Date validFrom, final Date validTo) {
|
final String name, final String description, final String countryCode, final Date validFrom, final Date validTo) {
|
||||||
super();
|
|
||||||
this.id = id;
|
this.id = id;
|
||||||
this.componentDatas = componentDatas;
|
this.componentDatas = componentDatas;
|
||||||
this.questionDatas = questionDatas;
|
this.questionDatas = questionDatas;
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ public class Component extends AbstractPersistableCustom {
|
|||||||
private Integer sequenceNo;
|
private Integer sequenceNo;
|
||||||
|
|
||||||
public Component() {
|
public Component() {
|
||||||
super();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public Survey getSurvey() {
|
public Survey getSurvey() {
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ public class LookupTable extends AbstractPersistableCustom {
|
|||||||
private Double score;
|
private Double score;
|
||||||
|
|
||||||
public LookupTable() {
|
public LookupTable() {
|
||||||
super();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public Survey getSurvey() {
|
public Survey getSurvey() {
|
||||||
|
|||||||
@@ -58,7 +58,7 @@ public class Question extends AbstractPersistableCustom {
|
|||||||
private Integer sequenceNo;
|
private Integer sequenceNo;
|
||||||
|
|
||||||
public Question() {
|
public Question() {
|
||||||
super();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public Survey getSurvey() {
|
public Survey getSurvey() {
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ public class Response extends AbstractPersistableCustom {
|
|||||||
private Integer sequenceNo;
|
private Integer sequenceNo;
|
||||||
|
|
||||||
public Response() {
|
public Response() {
|
||||||
super();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public Question getQuestion() {
|
public Question getQuestion() {
|
||||||
|
|||||||
@@ -65,7 +65,7 @@ public class Scorecard extends AbstractPersistableCustom {
|
|||||||
private Integer value;
|
private Integer value;
|
||||||
|
|
||||||
public Scorecard() {
|
public Scorecard() {
|
||||||
super();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public Survey getSurvey() {
|
public Survey getSurvey() {
|
||||||
|
|||||||
@@ -65,7 +65,7 @@ public class Survey extends AbstractPersistableCustom {
|
|||||||
private Date validTo;
|
private Date validTo;
|
||||||
|
|
||||||
public Survey() {
|
public Survey() {
|
||||||
super();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public List<Component> getComponents() {
|
public List<Component> getComponents() {
|
||||||
|
|||||||
+1
-1
@@ -34,7 +34,7 @@ public class LookupTableService {
|
|||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
public LookupTableService(final PlatformSecurityContext securityContext, final LookupTableRepository lookupTableRepository) {
|
public LookupTableService(final PlatformSecurityContext securityContext, final LookupTableRepository lookupTableRepository) {
|
||||||
super();
|
|
||||||
this.securityContext = securityContext;
|
this.securityContext = securityContext;
|
||||||
this.lookupTableRepository = lookupTableRepository;
|
this.lookupTableRepository = lookupTableRepository;
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -35,7 +35,7 @@ public class ScorecardService {
|
|||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
public ScorecardService(final PlatformSecurityContext securityContext, final ScorecardRepository scorecardRepository) {
|
public ScorecardService(final PlatformSecurityContext securityContext, final ScorecardRepository scorecardRepository) {
|
||||||
super();
|
|
||||||
this.securityContext = securityContext;
|
this.securityContext = securityContext;
|
||||||
this.scorecardRepository = scorecardRepository;
|
this.scorecardRepository = scorecardRepository;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ public class SpmService {
|
|||||||
@Autowired
|
@Autowired
|
||||||
public SpmService(final PlatformSecurityContext securityContext, final SurveyRepository surveyRepository,
|
public SpmService(final PlatformSecurityContext securityContext, final SurveyRepository surveyRepository,
|
||||||
final SurveyValidator surveyValidator) {
|
final SurveyValidator surveyValidator) {
|
||||||
super();
|
|
||||||
this.securityContext = securityContext;
|
this.securityContext = securityContext;
|
||||||
this.surveyRepository = surveyRepository;
|
this.surveyRepository = surveyRepository;
|
||||||
this.surveyValidator = surveyValidator;
|
this.surveyValidator = surveyValidator;
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ import org.apache.fineract.spm.domain.Survey;
|
|||||||
public final class LookupTableMapper {
|
public final class LookupTableMapper {
|
||||||
|
|
||||||
private LookupTableMapper() {
|
private LookupTableMapper() {
|
||||||
super();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static List<LookupTableData> map(final List<LookupTable> lookupTables) {
|
public static List<LookupTableData> map(final List<LookupTable> lookupTables) {
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ import org.apache.fineract.useradministration.domain.AppUser;
|
|||||||
public final class ScorecardMapper {
|
public final class ScorecardMapper {
|
||||||
|
|
||||||
private ScorecardMapper() {
|
private ScorecardMapper() {
|
||||||
super();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static List<Scorecard> map(final ScorecardData scorecardData, final Survey survey, final AppUser appUser, final Client client) {
|
public static List<Scorecard> map(final ScorecardData scorecardData, final Survey survey, final AppUser appUser, final Client client) {
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ import org.apache.fineract.spm.domain.Survey;
|
|||||||
public final class SurveyMapper {
|
public final class SurveyMapper {
|
||||||
|
|
||||||
private SurveyMapper() {
|
private SurveyMapper() {
|
||||||
super();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static SurveyData map(final Survey survey) {
|
public static SurveyData map(final Survey survey) {
|
||||||
|
|||||||
+1
-1
@@ -44,7 +44,7 @@ public class CommandHandlerProviderTest {
|
|||||||
private CommandHandlerProvider commandHandlerProvider;
|
private CommandHandlerProvider commandHandlerProvider;
|
||||||
|
|
||||||
public CommandHandlerProviderTest() {
|
public CommandHandlerProviderTest() {
|
||||||
super();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
|||||||
+1
-1
@@ -29,7 +29,7 @@ import org.springframework.stereotype.Component;
|
|||||||
public class ValidCommandHandler implements NewCommandSourceHandler {
|
public class ValidCommandHandler implements NewCommandSourceHandler {
|
||||||
|
|
||||||
public ValidCommandHandler() {
|
public ValidCommandHandler() {
|
||||||
super();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ public class RestAssuredFixture {
|
|||||||
private RequestSpecification requestSpec;
|
private RequestSpecification requestSpec;
|
||||||
|
|
||||||
public RestAssuredFixture(int http) {
|
public RestAssuredFixture(int http) {
|
||||||
super();
|
|
||||||
this.httpPort = http;
|
this.httpPort = http;
|
||||||
Utils.initializeRESTAssured();
|
Utils.initializeRESTAssured();
|
||||||
Utils.initializeRESTAssuredPort(http);
|
Utils.initializeRESTAssuredPort(http);
|
||||||
|
|||||||
Reference in New Issue
Block a user