Fix spelling mistake in error message

This commit is contained in:
Alex Hatzenbuhler 2016-04-20 14:50:35 -05:00
parent d5058a71c6
commit 8b53e448db

View file

@ -659,7 +659,7 @@ public final class PDF417 {
//2. step: construct data codewords
if (sourceCodeWords + errorCorrectionCodeWords + 1 > 929) { // +1 for symbol length CW
throw new WriterException(
"Encoded message contains to many code words, message to big (" + msg.length() + " bytes)");
"Encoded message contains too many code words, message too big (" + msg.length() + " bytes)");
}
int n = sourceCodeWords + pad + 1;
StringBuilder sb = new StringBuilder(n);