You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2024/09/12 14:46:38 UTC

(commons-scxml) 04/30: Remove redundant syntax

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 36dbbe85dec1fe49ae6b18939fa5895d2020a5cb
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Thu Sep 12 10:39:28 2024 -0400

    Remove redundant syntax
---
 src/main/java/org/apache/commons/scxml2/EvaluatorFactory.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/commons/scxml2/EvaluatorFactory.java b/src/main/java/org/apache/commons/scxml2/EvaluatorFactory.java
index daa77fd3..a272d05b 100644
--- a/src/main/java/org/apache/commons/scxml2/EvaluatorFactory.java
+++ b/src/main/java/org/apache/commons/scxml2/EvaluatorFactory.java
@@ -72,7 +72,7 @@ public class EvaluatorFactory {
         final String datamodelName = document != null ? document.getDatamodelName() : null;
         final EvaluatorProvider provider = INSTANCE.providers.get(datamodelName == null ? DEFAULT_DATA_MODEL : datamodelName);
         if (provider == null) {
-            throw new ModelException("Unsupported SCXML document datamodel \""+(datamodelName)+"\"");
+            throw new ModelException("Unsupported SCXML document datamodel \""+datamodelName+"\"");
         }
         return document != null ? provider.getEvaluator(document) : provider.getEvaluator();
     }