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/11/05 12:25:35 UTC
(commons-scxml) branch master updated: Use preferred spelling for "cannot"
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 cfceb7ba Use preferred spelling for "cannot"
cfceb7ba is described below
commit cfceb7ba3e398e94dbb28f9fea264f1cdb900c21
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Tue Nov 5 07:25:30 2024 -0500
Use preferred spelling for "cannot"
---
src/main/java/org/apache/commons/scxml2/test/StandaloneUtils.java | 4 ++--
src/test/java/org/apache/commons/scxml2/w3c/W3CTests.java | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/main/java/org/apache/commons/scxml2/test/StandaloneUtils.java b/src/main/java/org/apache/commons/scxml2/test/StandaloneUtils.java
index c43944d9..480d9114 100644
--- a/src/main/java/org/apache/commons/scxml2/test/StandaloneUtils.java
+++ b/src/main/java/org/apache/commons/scxml2/test/StandaloneUtils.java
@@ -76,7 +76,7 @@ public final class StandaloneUtils {
final SCXML doc = SCXMLReader.read(new URL(documentURI));
if (doc == null) {
System.err.println("The SCXML document " + uri
- + " can not be parsed!");
+ + " cannot be parsed!");
System.exit(-1);
}
System.out.println(SCXMLWriter.write(doc));
@@ -137,7 +137,7 @@ public final class StandaloneUtils {
/**
* @param uri an absolute or relative URL
* @return java.lang.String canonical URL (absolute)
- * @throws IOException if a relative URL can not be resolved
+ * @throws IOException if a relative URL cannot be resolved
* to a local file
*/
private static String getCanonicalURI(final String uri)
diff --git a/src/test/java/org/apache/commons/scxml2/w3c/W3CTests.java b/src/test/java/org/apache/commons/scxml2/w3c/W3CTests.java
index 2b9fa004..162f5e87 100644
--- a/src/test/java/org/apache/commons/scxml2/w3c/W3CTests.java
+++ b/src/test/java/org/apache/commons/scxml2/w3c/W3CTests.java
@@ -597,7 +597,7 @@ public class W3CTests {
final SCXML doc = SCXMLReader.read(new FileReader(scxmlFile), configuration);
if (doc == null) {
System.out.println(" FAIL: the SCXML file " +
- scxmlFile.getCanonicalPath() + " can not be parsed!");
+ scxmlFile.getCanonicalPath() + " cannot be parsed!");
return false;
}
final SCXMLExecutor exec = new SCXMLExecutor(null, null, trc);