Skip to content

Commit 46dbcb6

Browse files
FINERACT-2684: Fix typo 'occured' -> 'occurred' in organisation, adhocquery, interoperation and useradministration modules
1 parent 9273908 commit 46dbcb6

10 files changed

Lines changed: 10 additions & 10 deletions

‎fineract-provider/src/main/java/org/apache/fineract/adhocquery/service/AdHocWritePlatformServiceJpaRepositoryImpl.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ private void handleDataIntegrityIssues(final JsonCommand command, final Throwabl
8585
throw new PlatformDataIntegrityException("error.msg.adhocquery.duplicate.name",
8686
"AdHocQuery with name `" + name + "` already exists", "name", name);
8787
}
88-
log.error("Error occured.", dve);
88+
log.error("Error occurred.", dve);
8989
throw ErrorHandler.getMappable(dve, "error.msg.adhocquery.unknown.data.integrity.issue",
9090
"Unknown data integrity issue with resource.");
9191
}

‎fineract-provider/src/main/java/org/apache/fineract/interoperation/service/InteropServiceImpl.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -654,7 +654,7 @@ private void handleInteropDataIntegrityIssues(InteropIdentifierType idType, Stri
654654
"idType", idType.name(), accountId);
655655
}
656656

657-
log.error("Error occured.", dve);
657+
log.error("Error occurred.", dve);
658658
throw ErrorHandler.getMappable(dve, "error.msg.interop.unknown.data.integrity.issue",
659659
"Unknown data integrity issue with resource: " + realCause.getMessage());
660660
}

‎fineract-provider/src/main/java/org/apache/fineract/organisation/holiday/service/HolidayWritePlatformServiceJpaRepositoryImpl.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ private void handleDataIntegrityIssues(final JsonCommand command, final Throwabl
195195
"name", name);
196196
}
197197

198-
log.error("Error occured.", dve);
198+
log.error("Error occurred.", dve);
199199
throw ErrorHandler.getMappable(dve, "error.msg.office.unknown.data.integrity.issue",
200200
"Unknown data integrity issue with resource: " + realCause.getMessage());
201201
}

‎fineract-provider/src/main/java/org/apache/fineract/organisation/office/service/OfficeWritePlatformServiceJpaRepositoryImpl.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ private void handleOfficeDataIntegrityIssues(final JsonCommand command, final Th
215215
"name", name);
216216
}
217217

218-
log.error("Error occured.", dve);
218+
log.error("Error occurred.", dve);
219219
throw ErrorHandler.getMappable(dve, "error.msg.office.unknown.data.integrity.issue", "Unknown data integrity issue with resource.");
220220
}
221221

‎fineract-provider/src/main/java/org/apache/fineract/organisation/provisioning/service/ProvisioningCategoryWritePlatformServiceJpaRepositoryImpl.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ private void handleDataIntegrityIssues(final JsonCommand command, final Throwabl
133133
throw new PlatformDataIntegrityException("error.msg.provisioning.duplicate.categoryname",
134134
"Provisioning Cateory with name `" + name + "` already exists", "category name", name);
135135
}
136-
log.error("Error occured.", dve);
136+
log.error("Error occurred.", dve);
137137
throw ErrorHandler.getMappable(dve, "error.msg.charge.unknown.data.integrity.issue",
138138
"Unknown data integrity issue with resource: " + realCause.getMessage());
139139
}

‎fineract-provider/src/main/java/org/apache/fineract/organisation/provisioning/service/ProvisioningCriteriaWritePlatformServiceJpaRepositoryImpl.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ private void handleDataIntegrityIssues(final JsonCommand command, final Throwabl
167167
throw new PlatformDataIntegrityException("error.msg.provisioning.product.id(s).already.associated.existing.criteria",
168168
"The selected products already associated with another Provisioning Criteria");
169169
}
170-
log.error("Error occured.", dve);
170+
log.error("Error occurred.", dve);
171171
throw ErrorHandler.getMappable(dve, "error.msg.provisioning.unknown.data.integrity.issue",
172172
"Unknown data integrity issue with resource: " + realCause.getMessage());
173173
}

‎fineract-provider/src/main/java/org/apache/fineract/organisation/teller/service/TellerWritePlatformServiceJpaImpl.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ private void handleTellerDataIntegrityIssues(final JsonCommand command, final Th
188188
"name", name);
189189
}
190190

191-
log.error("Error occured.", dve);
191+
log.error("Error occurred.", dve);
192192
throw ErrorHandler.getMappable(dve, "error.msg.teller.unknown.data.integrity.issue",
193193
"Unknown data integrity issue with resource: " + realCause.getMessage());
194194
}

‎fineract-provider/src/main/java/org/apache/fineract/useradministration/service/AppUserWritePlatformServiceJpaRepositoryImpl.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ private RuntimeException handleDataIntegrityIssues(final JsonCommand command, fi
311311
final String defaultMessage = "User with username " + username + " already exists.";
312312
return new PlatformDataIntegrityException("error.msg.user.duplicate.username", defaultMessage, "username", username);
313313
}
314-
log.error("handleDataIntegrityIssues: Neither duplicate username nor existing user; unknown error occured", dve);
314+
log.error("handleDataIntegrityIssues: Neither duplicate username nor existing user; unknown error occurred", dve);
315315
return ErrorHandler.getMappable(dve, "error.msg.unknown.data.integrity.issue", "Unknown data integrity issue with resource.");
316316
}
317317
}

‎fineract-provider/src/main/java/org/apache/fineract/useradministration/service/PasswordPreferencesWritePlatformServiceJpaRepositoryImpl.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public CommandProcessingResult updatePreferences(final JsonCommand command) {
8181
.with(changes) //
8282
.build();
8383
} catch (final JpaSystemException | DataIntegrityViolationException dve) {
84-
log.error("Error occured.", dve);
84+
log.error("Error occurred.", dve);
8585
throw ErrorHandler.getMappable(dve, "error.msg.password.validation.policy.unknown.data.integrity.issue",
8686
"Unknown data integrity issue with resource.");
8787
}

‎fineract-provider/src/main/java/org/apache/fineract/useradministration/service/RoleWritePlatformServiceJpaRepositoryImpl.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ private void handleDataIntegrityIssues(final JsonCommand command, final Throwabl
9696
"name", name);
9797
}
9898

99-
log.error("Error occured.", dve);
99+
log.error("Error occurred.", dve);
100100
throw ErrorHandler.getMappable(dve, "error.msg.role.unknown.data.integrity.issue", "Unknown data integrity issue with resource.");
101101
}
102102

0 commit comments

Comments
 (0)