Skip to content

Commit 7e477a5

Browse files
committed
Javadoc
1 parent 797e4c2 commit 7e477a5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/main/java/org/apache/commons/scxml2/io/ModelUpdater.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ final class ModelUpdater {
5959

6060
/**
6161
* Error message when a state element specifies an initial state which
62-
* is not a direct descendent.
62+
* is not a direct descendant.
6363
*/
6464
private static final String ERR_STATE_BAD_INIT = "Initial state "
6565
+ "null or not a descendant of {0}";
@@ -77,7 +77,7 @@ final class ModelUpdater {
7777
+ " for shallow history is not child for {0}";
7878

7979
/**
80-
* Error message when a deep history state is not a descendent state.
80+
* Error message when a deep history state is not a descendant state.
8181
*/
8282
private static final String ERR_STATE_BAD_DEEP_HIST = "History state"
8383
+ " for deep history is not descendant for {0}";

src/main/java/org/apache/commons/scxml2/io/SCXMLReader.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2701,7 +2701,7 @@ private static void readTransitionalStateSrc(final Configuration configuration,
27012701
// TODO src attribute for <parallel>
27022702
}
27032703
} else {
2704-
// Need to pull in only descendent targets
2704+
// Need to pull in only descendant targets
27052705
final Object source = externalSCXML.getTargets().get(fragment);
27062706
if (source == null) {
27072707
final MessageFormat msgFormat = new MessageFormat(ERR_STATE_SRC_FRAGMENT);

0 commit comments

Comments
 (0)