From 721723eceee4ca6c23ef6adbd1c52cb6c8f6faa2 Mon Sep 17 00:00:00 2001 From: Sean Owen Date: Sun, 3 May 2015 20:47:43 +0100 Subject: [PATCH] Revert "minSize from provided sizes" --- .../main/java/com/google/zxing/datamatrix/DataMatrixWriter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/com/google/zxing/datamatrix/DataMatrixWriter.java b/core/src/main/java/com/google/zxing/datamatrix/DataMatrixWriter.java index 53b4b68d6..32bf3f67a 100644 --- a/core/src/main/java/com/google/zxing/datamatrix/DataMatrixWriter.java +++ b/core/src/main/java/com/google/zxing/datamatrix/DataMatrixWriter.java @@ -60,7 +60,7 @@ public final class DataMatrixWriter implements Writer { // Try to get force shape & min / max size SymbolShapeHint shape = SymbolShapeHint.FORCE_NONE; - Dimension minSize = new Dimension(width, height); + Dimension minSize = null; Dimension maxSize = null; if (hints != null) { SymbolShapeHint requestedShape = (SymbolShapeHint) hints.get(EncodeHintType.DATA_MATRIX_SHAPE);