diff --git a/core/src/com/google/zxing/common/BitMatrix.java b/core/src/com/google/zxing/common/BitMatrix.java index 118166960..cbb585042 100755 --- a/core/src/com/google/zxing/common/BitMatrix.java +++ b/core/src/com/google/zxing/common/BitMatrix.java @@ -115,16 +115,4 @@ public final class BitMatrix { return bits; } - /* - public BufferedImage toBufferedImage() { - BufferedImage image = new BufferedImage(dimension, dimension, BufferedImage.TYPE_BYTE_BINARY); - for (int j = 0; j < dimension; j++) { - for (int i = 0; i < dimension; i++) { - image.setRGB(j, i, get(i, j) ? 0x00000000 : 0x00FFFFFF); - } - } - return image; - } - */ - } diff --git a/javase/src/com/google/zxing/client/j2se/CommandLineRunner.java b/javase/src/com/google/zxing/client/j2se/CommandLineRunner.java index a57b1ebb2..a6d2335e8 100644 --- a/javase/src/com/google/zxing/client/j2se/CommandLineRunner.java +++ b/javase/src/com/google/zxing/client/j2se/CommandLineRunner.java @@ -72,4 +72,16 @@ public final class CommandLineRunner { } } + /* + public BufferedImage toBufferedImage() { + BufferedImage image = new BufferedImage(dimension, dimension, BufferedImage.TYPE_BYTE_BINARY); + for (int j = 0; j < dimension; j++) { + for (int i = 0; i < dimension; i++) { + image.setRGB(j, i, get(i, j) ? 0x00000000 : 0x00FFFFFF); + } + } + return image; + } + */ + }