Skip to content

Commit cfceb7b

Browse files
committed
Use preferred spelling for "cannot"
1 parent a375009 commit cfceb7b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/main/java/org/apache/commons/scxml2/test/StandaloneUtils.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public static void execute(final String uri, final Evaluator evaluator) {
7676
final SCXML doc = SCXMLReader.read(new URL(documentURI));
7777
if (doc == null) {
7878
System.err.println("The SCXML document " + uri
79-
+ " can not be parsed!");
79+
+ " cannot be parsed!");
8080
System.exit(-1);
8181
}
8282
System.out.println(SCXMLWriter.write(doc));
@@ -137,7 +137,7 @@ public static void execute(final String uri, final Evaluator evaluator) {
137137
/**
138138
* @param uri an absolute or relative URL
139139
* @return java.lang.String canonical URL (absolute)
140-
* @throws IOException if a relative URL can not be resolved
140+
* @throws IOException if a relative URL cannot be resolved
141141
* to a local file
142142
*/
143143
private static String getCanonicalURI(final String uri)

src/test/java/org/apache/commons/scxml2/w3c/W3CTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -597,7 +597,7 @@ protected boolean runTest(final Assertions.TestCase testCase, final Tests.Test t
597597
final SCXML doc = SCXMLReader.read(new FileReader(scxmlFile), configuration);
598598
if (doc == null) {
599599
System.out.println(" FAIL: the SCXML file " +
600-
scxmlFile.getCanonicalPath() + " can not be parsed!");
600+
scxmlFile.getCanonicalPath() + " cannot be parsed!");
601601
return false;
602602
}
603603
final SCXMLExecutor exec = new SCXMLExecutor(null, null, trc);

0 commit comments

Comments
 (0)