Typo in last commit

git-svn-id: https://zxing.googlecode.com/svn/trunk@2588 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
srowen@gmail.com 2013-03-06 13:18:28 +00:00
parent 883751b8ba
commit 4787132564

View file

@ -45,7 +45,7 @@ public final class AztecWriter implements Writer {
private static BitMatrix encode(String contents, BarcodeFormat format, Charset charset, int eccPercent) {
if (format != BarcodeFormat.AZTEC) {
throw new IllegalArgumentException("Can only encode QR_AZTECCODE, but got " + format);
throw new IllegalArgumentException("Can only encode AZTEC, but got " + format);
}
AztecCode aztec = Encoder.encode(contents.getBytes(charset), eccPercent);
return aztec.getMatrix();