Skip to content

Commit 76ba1ec

Browse files
committed
Use preferred spelling for "cannot"
1 parent 45531d3 commit 76ba1ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/apache/commons/text/translate/SinglePassTranslator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ private String getClassName() {
4343
public int translate(final CharSequence input, final int index, final Writer writer) throws IOException {
4444
if (index != 0) {
4545
throw new IllegalArgumentException(getClassName() + ".translate(final CharSequence input, final int "
46-
+ "index, final Writer out) can not handle a non-zero index.");
46+
+ "index, final Writer out) cannot handle a non-zero index.");
4747
}
4848

4949
translateWhole(input, writer);

0 commit comments

Comments
 (0)