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 7e477a5f Javadoc
7e477a5f is described below

commit 7e477a5fd42f986948181693a75ee8c7d2c8a8ed
Author: Gary D. Gregory <garydgreg...@gmail.com>
AuthorDate: Thu Feb 27 08:12:45 2025 -0500

    Javadoc
---
 src/main/java/org/apache/commons/scxml2/io/ModelUpdater.java | 4 ++--
 src/main/java/org/apache/commons/scxml2/io/SCXMLReader.java  | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/main/java/org/apache/commons/scxml2/io/ModelUpdater.java 
b/src/main/java/org/apache/commons/scxml2/io/ModelUpdater.java
index 10ce70e3..69d19c1c 100644
--- a/src/main/java/org/apache/commons/scxml2/io/ModelUpdater.java
+++ b/src/main/java/org/apache/commons/scxml2/io/ModelUpdater.java
@@ -59,7 +59,7 @@ final class ModelUpdater {
 
     /**
      * Error message when a state element specifies an initial state which
-     * is not a direct descendent.
+     * is not a direct descendant.
      */
     private static final String ERR_STATE_BAD_INIT = "Initial state "
             + "null or not a descendant of {0}";
@@ -77,7 +77,7 @@ final class ModelUpdater {
             + " for shallow history is not child for {0}";
 
     /**
-     * Error message when a deep history state is not a descendent state.
+     * Error message when a deep history state is not a descendant state.
      */
     private static final String ERR_STATE_BAD_DEEP_HIST = "History state"
             + " for deep history is not descendant for {0}";
diff --git a/src/main/java/org/apache/commons/scxml2/io/SCXMLReader.java 
b/src/main/java/org/apache/commons/scxml2/io/SCXMLReader.java
index 07b3c182..cff2ce13 100644
--- a/src/main/java/org/apache/commons/scxml2/io/SCXMLReader.java
+++ b/src/main/java/org/apache/commons/scxml2/io/SCXMLReader.java
@@ -2701,7 +2701,7 @@ public final class SCXMLReader {
                 // TODO src attribute for <parallel>
             }
         } else {
-            // Need to pull in only descendent targets
+            // Need to pull in only descendant targets
             final Object source = externalSCXML.getTargets().get(fragment);
             if (source == null) {
                 final MessageFormat msgFormat = new 
MessageFormat(ERR_STATE_SRC_FRAGMENT);

Reply via email to