This commit is contained in:
smiRaphi
2026-05-27 23:46:18 +02:00
committed by GitHub
parent 3084b49f4a
commit bdb0cb7e70

View File

@@ -107,7 +107,7 @@ class DomainObjectDBTransaction implements TransactionInfo {
*/
void setHasCommittedDBTransaction() {
if (getStatus() != Status.COMMITTED) {
throw new IllegalStateException("transaction was not committed");
throw new IllegalStateException("Transaction was not committed");
}
hasDBTransaction = true;
}
@@ -146,7 +146,7 @@ class DomainObjectDBTransaction implements TransactionInfo {
}
if (entry.status != Status.NOT_DONE) {
throw new IllegalStateException(
"Attempted to end Transaction " + "more that once: " + entry.description);
"Attempted to end Transaction " + "more than once: " + entry.description);
}
entry.status = commit ? Status.COMMITTED : Status.ABORTED;
if (!commit) {