This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-scxml.git
commit 6fcb38241557981cefd6aade17050d39e77ecebc Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Thu Sep 12 10:44:20 2024 -0400 Remove redundant syntax --- src/main/java/org/apache/commons/scxml2/env/SimpleDispatcher.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/apache/commons/scxml2/env/SimpleDispatcher.java b/src/main/java/org/apache/commons/scxml2/env/SimpleDispatcher.java index 21043930..d3107b1d 100644 --- a/src/main/java/org/apache/commons/scxml2/env/SimpleDispatcher.java +++ b/src/main/java/org/apache/commons/scxml2/env/SimpleDispatcher.java @@ -171,7 +171,7 @@ public class SimpleDispatcher implements EventDispatcher, Serializable { // We only handle the "scxml" type (which is the default too) and optionally the #_internal target - if ((type != null) && !type.equalsIgnoreCase(SCXMLIOProcessor.SCXML_EVENT_PROCESSOR) && !type.equals(SCXMLIOProcessor.DEFAULT_EVENT_PROCESSOR)) { + if (type != null && !type.equalsIgnoreCase(SCXMLIOProcessor.SCXML_EVENT_PROCESSOR) && !type.equals(SCXMLIOProcessor.DEFAULT_EVENT_PROCESSOR)) { ioProcessors.get(SCXMLIOProcessor.INTERNAL_EVENT_PROCESSOR) .addEvent(new EventBuilder(TriggerEvent.ERROR_EXECUTION, TriggerEvent.ERROR_EVENT).sendId(id).build()); throw new ActionExecutionError(true, "<send>: Unsupported type - " + type);