diff --git a/fineract-provider/src/main/java/org/apache/fineract/infrastructure/businessdate/exception/BusinessDateNotFoundException.java b/fineract-provider/src/main/java/org/apache/fineract/infrastructure/businessdate/exception/BusinessDateNotFoundException.java index fcf986648..8b5b1d4d7 100644 --- a/fineract-provider/src/main/java/org/apache/fineract/infrastructure/businessdate/exception/BusinessDateNotFoundException.java +++ b/fineract-provider/src/main/java/org/apache/fineract/infrastructure/businessdate/exception/BusinessDateNotFoundException.java @@ -35,7 +35,7 @@ public class BusinessDateNotFoundException extends AbstractPlatformResourceNotFo } public static BusinessDateNotFoundException notFound(final String type, Throwable... e) { - return new BusinessDateNotFoundException("error.msg.businessdate.not.found", - "Business date with type `" + type + "` does not found.", type, e); + return new BusinessDateNotFoundException("error.msg.businessdate.not.found", "Business date with type `" + type + "` is not found.", + type, e); } } diff --git a/fineract-provider/src/main/java/org/apache/fineract/portfolio/delinquency/exception/DelinquencyBucketNotFoundException.java b/fineract-provider/src/main/java/org/apache/fineract/portfolio/delinquency/exception/DelinquencyBucketNotFoundException.java index 5e27bc4f3..e7c324fbd 100644 --- a/fineract-provider/src/main/java/org/apache/fineract/portfolio/delinquency/exception/DelinquencyBucketNotFoundException.java +++ b/fineract-provider/src/main/java/org/apache/fineract/portfolio/delinquency/exception/DelinquencyBucketNotFoundException.java @@ -34,6 +34,6 @@ public class DelinquencyBucketNotFoundException extends AbstractPlatformResource public static DelinquencyBucketNotFoundException notFound(final Long id, Throwable... e) { return new DelinquencyBucketNotFoundException("error.msg.delinquency.bucket.not.found", - "Delinquency bucket with id `" + id + "` does not found.", id, e); + "Delinquency bucket with id `" + id + "` is not found.", id, e); } } diff --git a/fineract-provider/src/main/java/org/apache/fineract/portfolio/delinquency/exception/DelinquencyRangeNotFoundException.java b/fineract-provider/src/main/java/org/apache/fineract/portfolio/delinquency/exception/DelinquencyRangeNotFoundException.java index df6e8a952..e0d3b5a62 100644 --- a/fineract-provider/src/main/java/org/apache/fineract/portfolio/delinquency/exception/DelinquencyRangeNotFoundException.java +++ b/fineract-provider/src/main/java/org/apache/fineract/portfolio/delinquency/exception/DelinquencyRangeNotFoundException.java @@ -33,6 +33,6 @@ public class DelinquencyRangeNotFoundException extends AbstractPlatformResourceN public static DelinquencyRangeNotFoundException notFound(final Long id, Throwable... e) { return new DelinquencyRangeNotFoundException("error.msg.delinquency.range.not.found", - "Delinquency range with id `" + id + "` does not found.", id, e); + "Delinquency range with id `" + id + "` is not found.", id, e); } } diff --git a/fineract-provider/src/test/java/org/apache/fineract/infrastructure/businessdate/service/BusinessDateReadPlatformServiceTest.java b/fineract-provider/src/test/java/org/apache/fineract/infrastructure/businessdate/service/BusinessDateReadPlatformServiceTest.java index b20bbb85e..d2318c722 100644 --- a/fineract-provider/src/test/java/org/apache/fineract/infrastructure/businessdate/service/BusinessDateReadPlatformServiceTest.java +++ b/fineract-provider/src/test/java/org/apache/fineract/infrastructure/businessdate/service/BusinessDateReadPlatformServiceTest.java @@ -64,7 +64,7 @@ public class BusinessDateReadPlatformServiceTest { public void notFoundByTypeNotStoredInDB() { BusinessDateNotFoundException businessDateNotFoundException = assertThrows(BusinessDateNotFoundException.class, () -> businessDateReadPlatformService.findByType("BUSINESS_DATE")); - assertEquals("Business date with type `BUSINESS_DATE` does not found.", businessDateNotFoundException.getDefaultUserMessage()); + assertEquals("Business date with type `BUSINESS_DATE` is not found.", businessDateNotFoundException.getDefaultUserMessage()); } @Test