FINERACT-822 Enforce SameNameButDifferent check (#1083)
This commit is contained in:
@@ -383,7 +383,6 @@ tasks.withType(JavaCompile) {
|
|||||||
//Todo Remove necessary checks from this list
|
//Todo Remove necessary checks from this list
|
||||||
disable(
|
disable(
|
||||||
"UnusedVariable",
|
"UnusedVariable",
|
||||||
"SameNameButDifferent",
|
|
||||||
"TypeParameterUnusedInFormals",
|
"TypeParameterUnusedInFormals",
|
||||||
"JdkObsolete",
|
"JdkObsolete",
|
||||||
"EmptyBlockTag",
|
"EmptyBlockTag",
|
||||||
@@ -425,6 +424,7 @@ tasks.withType(JavaCompile) {
|
|||||||
"StreamResourceLeak",
|
"StreamResourceLeak",
|
||||||
"TruthIncompatibleType",
|
"TruthIncompatibleType",
|
||||||
"ByteBufferBackingArray",
|
"ByteBufferBackingArray",
|
||||||
|
"SameNameButDifferent",
|
||||||
"OrphanedFormatString",
|
"OrphanedFormatString",
|
||||||
"CatchAndPrintStackTrace",
|
"CatchAndPrintStackTrace",
|
||||||
"ObjectToString",
|
"ObjectToString",
|
||||||
|
|||||||
+2
-2
@@ -90,7 +90,7 @@ final class DocumentManagementApiResourceSwagger {
|
|||||||
|
|
||||||
@ApiModelProperty(example = "3")
|
@ApiModelProperty(example = "3")
|
||||||
public Long resourceId;
|
public Long resourceId;
|
||||||
public PutEntityTypeEntityIdDocumentsResponseChangesSwagger changes;
|
public PutEntityTypeEntityIdDocumentsResponse.PutEntityTypeEntityIdDocumentsResponseChangesSwagger changes;
|
||||||
@ApiModelProperty(example = "3")
|
@ApiModelProperty(example = "3")
|
||||||
public String resourceIdentifier;
|
public String resourceIdentifier;
|
||||||
}
|
}
|
||||||
@@ -112,7 +112,7 @@ final class DocumentManagementApiResourceSwagger {
|
|||||||
|
|
||||||
@ApiModelProperty(example = "3")
|
@ApiModelProperty(example = "3")
|
||||||
public Long resourceId;
|
public Long resourceId;
|
||||||
public PutEntityTypeEntityIdDocumentsResponseChangesSwagger changes;
|
public DeleteEntityTypeEntityIdDocumentsResponse.PutEntityTypeEntityIdDocumentsResponseChangesSwagger changes;
|
||||||
@ApiModelProperty(example = "3")
|
@ApiModelProperty(example = "3")
|
||||||
public String resourceIdentifier;
|
public String resourceIdentifier;
|
||||||
}
|
}
|
||||||
|
|||||||
+8
-8
@@ -272,9 +272,9 @@ final class LoanProductsApiResourceSwagger {
|
|||||||
public Integer id;
|
public Integer id;
|
||||||
@ApiModelProperty(example = "1")
|
@ApiModelProperty(example = "1")
|
||||||
public Integer productId;
|
public Integer productId;
|
||||||
public GetLoanProductsInterestRecalculationCompoundingType interestRecalculationCompoundingType;
|
public GetLoanProductsInterestRecalculationData.GetLoanProductsInterestRecalculationCompoundingType interestRecalculationCompoundingType;
|
||||||
public GetLoanProductsInterestRecalculationCompoundingFrequencyType interestRecalculationCompoundingFrequencyType;
|
public GetLoanProductsInterestRecalculationCompoundingFrequencyType interestRecalculationCompoundingFrequencyType;
|
||||||
public GetLoanProductsRescheduleStrategyType rescheduleStrategyType;
|
public GetLoanProductsInterestRecalculationData.GetLoanProductsRescheduleStrategyType rescheduleStrategyType;
|
||||||
public GetLoanProductsInterestRecalculationCompoundingFrequencyType recalculationRestFrequencyType;
|
public GetLoanProductsInterestRecalculationCompoundingFrequencyType recalculationRestFrequencyType;
|
||||||
public GetLoanProductsPreClosureInterestCalculationStrategy preClosureInterestCalculationStrategy;
|
public GetLoanProductsPreClosureInterestCalculationStrategy preClosureInterestCalculationStrategy;
|
||||||
@ApiModelProperty(example = "true")
|
@ApiModelProperty(example = "true")
|
||||||
@@ -327,7 +327,7 @@ final class LoanProductsApiResourceSwagger {
|
|||||||
public GetLoanProductsRepaymentFrequencyType repaymentFrequencyType;
|
public GetLoanProductsRepaymentFrequencyType repaymentFrequencyType;
|
||||||
@ApiModelProperty(example = "15.000000")
|
@ApiModelProperty(example = "15.000000")
|
||||||
public Float interestRatePerPeriod;
|
public Float interestRatePerPeriod;
|
||||||
public GetLoanProductsInterestRateFrequencyType interestRateFrequencyType;
|
public GetLoanProductsResponse.GetLoanProductsInterestRateFrequencyType interestRateFrequencyType;
|
||||||
@ApiModelProperty(example = "15.000000")
|
@ApiModelProperty(example = "15.000000")
|
||||||
public Float annualInterestRate;
|
public Float annualInterestRate;
|
||||||
public GetLoanProductsAmortizationType amortizationType;
|
public GetLoanProductsAmortizationType amortizationType;
|
||||||
@@ -348,7 +348,7 @@ final class LoanProductsApiResourceSwagger {
|
|||||||
@ApiModelProperty(example = "true")
|
@ApiModelProperty(example = "true")
|
||||||
public Boolean isInterestRecalculationEnabled;
|
public Boolean isInterestRecalculationEnabled;
|
||||||
public GetLoanProductsInterestRecalculationData interestRecalculationData;
|
public GetLoanProductsInterestRecalculationData interestRecalculationData;
|
||||||
public GetLoanProductsAccountingRule accountingRule;
|
public GetLoanProductsResponse.GetLoanProductsAccountingRule accountingRule;
|
||||||
@ApiModelProperty(example = "0")
|
@ApiModelProperty(example = "0")
|
||||||
public Integer principalThresholdForLastInstalment;
|
public Integer principalThresholdForLastInstalment;
|
||||||
}
|
}
|
||||||
@@ -478,8 +478,8 @@ final class LoanProductsApiResourceSwagger {
|
|||||||
public String value;
|
public String value;
|
||||||
}
|
}
|
||||||
|
|
||||||
public GetLoanProductsInterestRecalculationCompoundingType interestRecalculationCompoundingType;
|
public GetLoanProductsInterestRecalculationTemplateData.GetLoanProductsInterestRecalculationCompoundingType interestRecalculationCompoundingType;
|
||||||
public GetLoanProductsRescheduleStrategyType rescheduleStrategyType;
|
public GetLoanProductsInterestRecalculationTemplateData.GetLoanProductsRescheduleStrategyType rescheduleStrategyType;
|
||||||
public GetLoanProductsResponse.GetLoanProductsInterestRecalculationData.GetLoanProductsPreClosureInterestCalculationStrategy preClosureInterestCalculationStrategy;
|
public GetLoanProductsResponse.GetLoanProductsInterestRecalculationData.GetLoanProductsPreClosureInterestCalculationStrategy preClosureInterestCalculationStrategy;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -780,7 +780,7 @@ final class LoanProductsApiResourceSwagger {
|
|||||||
public List<Integer> interestRateVariationsForBorrowerCycle;
|
public List<Integer> interestRateVariationsForBorrowerCycle;
|
||||||
@ApiModelProperty(example = "[]")
|
@ApiModelProperty(example = "[]")
|
||||||
public List<Integer> numberOfRepaymentVariationsForBorrowerCycle;
|
public List<Integer> numberOfRepaymentVariationsForBorrowerCycle;
|
||||||
public GetLoanProductsAccountingRule accountingRule;
|
public GetLoanProductsTemplateResponse.GetLoanProductsAccountingRule accountingRule;
|
||||||
public GetLoansProductsDaysInMonthTemplateType daysInMonthType;
|
public GetLoansProductsDaysInMonthTemplateType daysInMonthType;
|
||||||
public GetLoanProductsDaysInYearTemplateType daysInYearType;
|
public GetLoanProductsDaysInYearTemplateType daysInYearType;
|
||||||
@ApiModelProperty(example = "false")
|
@ApiModelProperty(example = "false")
|
||||||
@@ -1041,7 +1041,7 @@ final class LoanProductsApiResourceSwagger {
|
|||||||
public GetLoanProductsResponse.GetLoanProductsRepaymentFrequencyType repaymentFrequencyType;
|
public GetLoanProductsResponse.GetLoanProductsRepaymentFrequencyType repaymentFrequencyType;
|
||||||
@ApiModelProperty(example = "5.000000")
|
@ApiModelProperty(example = "5.000000")
|
||||||
public Float interestRatePerPeriod;
|
public Float interestRatePerPeriod;
|
||||||
public GetLoanProductsInterestRateFrequencyType interestRateFrequencyType;
|
public GetLoanProductsProductIdResponse.GetLoanProductsInterestRateFrequencyType interestRateFrequencyType;
|
||||||
@ApiModelProperty(example = "60.000000")
|
@ApiModelProperty(example = "60.000000")
|
||||||
public Float annualInterestRate;
|
public Float annualInterestRate;
|
||||||
public GetLoanProductsResponse.GetLoanProductsAmortizationType amortizationType;
|
public GetLoanProductsResponse.GetLoanProductsAmortizationType amortizationType;
|
||||||
|
|||||||
+2
-2
@@ -186,7 +186,7 @@ final class RolesApiResourceSwagger {
|
|||||||
public String ALL_FUNCTIONS_READ;
|
public String ALL_FUNCTIONS_READ;
|
||||||
}
|
}
|
||||||
|
|
||||||
public PostRolesRoleIdPermissionsResponsePermissions permissions;
|
public PutRolesRoleIdPermissionsRequest.PostRolesRoleIdPermissionsResponsePermissions permissions;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -209,7 +209,7 @@ final class RolesApiResourceSwagger {
|
|||||||
|
|
||||||
@ApiModelProperty(example = "8")
|
@ApiModelProperty(example = "8")
|
||||||
public Long resourceId;
|
public Long resourceId;
|
||||||
public PostRolesRoleIdPermissionsResponsePermissions permissions;
|
public PutRolesRoleIdPermissionsRequest.PostRolesRoleIdPermissionsResponsePermissions permissions;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user