adamsaghy commented on PR #4793:
URL: https://github.com/apache/fineract/pull/4793#issuecomment-3324180565

   ```
   * What went wrong:
   Execution failed for task ':fineract-savings:spotlessJavaCheck'.
   > The following files had format violations:
         
src/main/java/org/apache/fineract/portfolio/interestratechart/domain/InterestRateChart.java
             @@ -144,14 +144,16 @@
              
························&&·nextSlabs.slabFields().isValidChart(isPrimaryGroupingByAmount))·{
              
····················if·(iSlabs.slabFields().isRateChartOverlapping(nextSlabs.slabFields(),·isPrimaryGroupingByAmount))·{
              
························baseDataValidator.failWithCodeNoParameterAddedToErrorCode("chart.slabs.range.overlapping",
             
-································slabContext·+·"·and·"·+·nextSlabContext·+·"There·is·an·overlap·between·these·slabs.·Please·ensure·slabs·do·not·overlap.",
             
+································slabContext·+·"·and·"·+·nextSlabContext
             
+········································+·"There·is·an·overlap·between·these·slabs.·Please·ensure·slabs·do·not·overlap.",
              
································iSlabs.slabFields().fromPeriod(),·iSlabs.slabFields().toPeriod(),·nextSlabs.slabFields().fromPeriod(),
              
································nextSlabs.slabFields().toPeriod(),·iSlabs.slabFields().getAmountRangeFrom(),
              
································iSlabs.slabFields().getAmountRangeTo(),·nextSlabs.slabFields().getAmountRangeFrom(),
              
································nextSlabs.slabFields().getAmountRangeTo());
              
····················}·else·if·(iSlabs.slabFields().isRateChartHasGap(nextSlabs.slabFields(),·isPrimaryGroupingByAmount))·{
              
························baseDataValidator.failWithCodeNoParameterAddedToErrorCode("chart.slabs.range.has.gap",
             
-································slabContext·+·"·and·"·+·nextSlabContext·+·"There·is·a·gap·between·these·slabs.·Please·ensure·slabs·are·continuous.",
             
+································slabContext·+·"·and·"·+·nextSlabContext
             
+········································+·"There·is·a·gap·between·these·slabs.·Please·ensure·slabs·are·continuous.",
              
································iSlabs.slabFields().fromPeriod(),·iSlabs.slabFields().toPeriod(),·nextSlabs.slabFields().fromPeriod(),
              
································nextSlabs.slabFields().toPeriod(),·iSlabs.slabFields().getAmountRangeFrom(),
              
································iSlabs.slabFields().getAmountRangeTo(),·nextSlabs.slabFields().getAmountRangeFrom(),
             @@ -172,7 +174,8 @@
              
····················}·else·if·(!iSlabs.slabFields().isPeriodsSame(nextSlabs.slabFields()))·{
              
························if·(InterestRateChartSlabFields.isNotProperAmountStart(nextSlabs.slabFields()))·{
              
····························baseDataValidator.failWithCodeNoParameterAddedToErrorCode("chart.slabs.amount.range.start.incorrect",
             
-····································nextSlabContext·+·"The·start·amount·of·this·slab·is·incorrect.",·nextSlabs.slabFields().getAmountRangeFrom());
             
+····································nextSlabContext·+·"The·start·amount·of·this·slab·is·incorrect.",
             
+····································nextSlabs.slabFields().getAmountRangeFrom());
              ························}
              
························if·(iSlabs.slabFields().getAmountRangeTo()·!=·null)·{
              
····························baseDataValidator.failWithCodeNoParameterAddedToErrorCode("chart.slabs.amount.range.end.incorrect",
     Run './gradlew :fineract-savings:spotlessApply' to fix these violations.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to