mirror of
https://github.com/zxing/zxing.git
synced 2025-03-05 20:48:51 -08:00
Typo in last commit
git-svn-id: https://zxing.googlecode.com/svn/trunk@2588 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
parent
883751b8ba
commit
4787132564
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue