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 2023/01/15 13:16:05 UTC

[commons-scxml] branch master updated: Pick up spotbugs-maven-plugin version from parent POM

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


The following commit(s) were added to refs/heads/master by this push:
     new 4eab174  Pick up spotbugs-maven-plugin version from parent POM
4eab174 is described below

commit 4eab174e5e8289e0ad200f9e5d56678bc7b66eee
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Jan 15 08:16:01 2023 -0500

    Pick up spotbugs-maven-plugin version from parent POM
    
    Same for checkstyle plugin
---
 src/main/java/org/apache/commons/scxml2/SCXMLSemantics.java             | 2 +-
 .../java/org/apache/commons/scxml2/semantics/SCXMLSemanticsImpl.java    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/java/org/apache/commons/scxml2/SCXMLSemantics.java b/src/main/java/org/apache/commons/scxml2/SCXMLSemantics.java
index 10f4702..7221094 100644
--- a/src/main/java/org/apache/commons/scxml2/SCXMLSemantics.java
+++ b/src/main/java/org/apache/commons/scxml2/SCXMLSemantics.java
@@ -24,7 +24,7 @@ import org.apache.commons.scxml2.model.ModelException;
 import org.apache.commons.scxml2.model.SCXML;
 
 /**
- * <p>The purpose of this interface is to separate the the
+ * <p>The purpose of this interface is to separate the
  * <a href="https://www.w3.org/TR/2015/REC-scxml-20150901/#AlgorithmforSCXMLInterpretation">
  *     W3C SCXML Algorithm for SCXML Interpretation</a>
  * from the <code>SCXMLExecutor</code> and therefore make it pluggable.</p>
diff --git a/src/main/java/org/apache/commons/scxml2/semantics/SCXMLSemanticsImpl.java b/src/main/java/org/apache/commons/scxml2/semantics/SCXMLSemanticsImpl.java
index 6529794..508d7cd 100644
--- a/src/main/java/org/apache/commons/scxml2/semantics/SCXMLSemanticsImpl.java
+++ b/src/main/java/org/apache/commons/scxml2/semantics/SCXMLSemanticsImpl.java
@@ -521,7 +521,7 @@ public class SCXMLSemanticsImpl implements SCXMLSemantics {
      */
     public void addAncestorStatesToEnter(final SCXMLExecutionContext exctx, final Step step,
                                             final TransitionTarget tt, final TransitionTarget ancestor) {
-        // for for anc in getProperAncestors(tt,ancestor)
+        // for anc in getProperAncestors(tt,ancestor)
         for (int i = tt.getNumberOfAncestors()-1; i > -1; i--) {
             final EnterableState anc = tt.getAncestor(i);
             if (anc == ancestor) {