From 7d40dae10585b8034b62b9e292349a56795bf1c5 Mon Sep 17 00:00:00 2001 From: Micha Kiener Date: Mon, 8 Jan 2024 18:15:30 +0100 Subject: [PATCH] small typos and comment improvements --- .../src/main/java/org/flowable/cmmn/api/CmmnRuntimeService.java | 2 +- .../engine/impl/cmd/AbstractCaseStartEventSubscriptionCmd.java | 2 +- .../impl/cmd/DeleteCaseInstanceStartEventSubscriptionCmd.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/flowable-cmmn-api/src/main/java/org/flowable/cmmn/api/CmmnRuntimeService.java b/modules/flowable-cmmn-api/src/main/java/org/flowable/cmmn/api/CmmnRuntimeService.java index b3a3846fefa..9ff9b8909a4 100644 --- a/modules/flowable-cmmn-api/src/main/java/org/flowable/cmmn/api/CmmnRuntimeService.java +++ b/modules/flowable-cmmn-api/src/main/java/org/flowable/cmmn/api/CmmnRuntimeService.java @@ -467,7 +467,7 @@ public interface CmmnRuntimeService { CaseInstanceStartEventSubscriptionModificationBuilder createCaseInstanceStartEventSubscriptionModificationBuilder(); /** - * Creates a new event subscription deletion builder delete one or more previously registered case start event subscriptions based + * Creates a new event subscription deletion builder to delete one or more previously registered case start event subscriptions based * on a particular case definition and with an optional combination of correlation parameter values. * * @return the subscription deletion builder diff --git a/modules/flowable-cmmn-engine/src/main/java/org/flowable/cmmn/engine/impl/cmd/AbstractCaseStartEventSubscriptionCmd.java b/modules/flowable-cmmn-engine/src/main/java/org/flowable/cmmn/engine/impl/cmd/AbstractCaseStartEventSubscriptionCmd.java index 7ed1f5f99ee..2390937b649 100644 --- a/modules/flowable-cmmn-engine/src/main/java/org/flowable/cmmn/engine/impl/cmd/AbstractCaseStartEventSubscriptionCmd.java +++ b/modules/flowable-cmmn-engine/src/main/java/org/flowable/cmmn/engine/impl/cmd/AbstractCaseStartEventSubscriptionCmd.java @@ -98,7 +98,7 @@ protected CaseDefinition getLatestCaseDefinitionByKey(String caseDefinitionKey, } else { throw new FlowableObjectNotFoundException("Case definition with key '" + caseDefinitionKey + - "' and tenantId '"+ tenantId +"' was not found", CaseDefinition.class); + "' and tenantId '" + tenantId + "' was not found.", CaseDefinition.class); } } } diff --git a/modules/flowable-cmmn-engine/src/main/java/org/flowable/cmmn/engine/impl/cmd/DeleteCaseInstanceStartEventSubscriptionCmd.java b/modules/flowable-cmmn-engine/src/main/java/org/flowable/cmmn/engine/impl/cmd/DeleteCaseInstanceStartEventSubscriptionCmd.java index 9005a239dbd..7b65db78236 100644 --- a/modules/flowable-cmmn-engine/src/main/java/org/flowable/cmmn/engine/impl/cmd/DeleteCaseInstanceStartEventSubscriptionCmd.java +++ b/modules/flowable-cmmn-engine/src/main/java/org/flowable/cmmn/engine/impl/cmd/DeleteCaseInstanceStartEventSubscriptionCmd.java @@ -22,7 +22,7 @@ import org.flowable.common.engine.impl.interceptor.CommandContext; /** - * This command either modifies event subscriptions with a case start event and optional correlation parameter values. + * This command deletes event subscriptions with a case start event and optional correlation parameter values. * * @author Micha Kiener */