mirror of
https://github.com/zxing/zxing.git
synced 2025-01-12 11:47:26 -08:00
Trivial move of a commented method to better spot -- won't compile where it is now
git-svn-id: https://zxing.googlecode.com/svn/trunk@134 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
parent
b3ecc20522
commit
80b3dd3632
|
@ -115,16 +115,4 @@ public final class BitMatrix {
|
||||||
return bits;
|
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;
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -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;
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue