mirror of
https://github.com/zxing/zxing.git
synced 2025-03-05 20:48:51 -08:00
Tiny improvement to toString() visualization of BitMatrix
git-svn-id: https://zxing.googlecode.com/svn/trunk@520 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
parent
7fbb81a0ed
commit
d04099f61b
|
@ -119,7 +119,7 @@ public final class BitMatrix {
|
||||||
StringBuffer result = new StringBuffer(dimension * (dimension + 1));
|
StringBuffer result = new StringBuffer(dimension * (dimension + 1));
|
||||||
for (int i = 0; i < dimension; i++) {
|
for (int i = 0; i < dimension; i++) {
|
||||||
for (int j = 0; j < dimension; j++) {
|
for (int j = 0; j < dimension; j++) {
|
||||||
result.append(get(i, j) ? 'X' : ' ');
|
result.append(get(i, j) ? "X " : " ");
|
||||||
}
|
}
|
||||||
result.append('\n');
|
result.append('\n');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue