From 4787132564ce84a1cf0c6dc80f33d4bed01e429c Mon Sep 17 00:00:00 2001 From: "srowen@gmail.com" Date: Wed, 6 Mar 2013 13:18:28 +0000 Subject: [PATCH] Typo in last commit git-svn-id: https://zxing.googlecode.com/svn/trunk@2588 59b500cc-1b3d-0410-9834-0bbf25fbcc57 --- core/src/com/google/zxing/aztec/encoder/AztecWriter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/com/google/zxing/aztec/encoder/AztecWriter.java b/core/src/com/google/zxing/aztec/encoder/AztecWriter.java index edc92ccb1..4d021fe00 100644 --- a/core/src/com/google/zxing/aztec/encoder/AztecWriter.java +++ b/core/src/com/google/zxing/aztec/encoder/AztecWriter.java @@ -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();