mirror of
https://github.com/zxing/zxing.git
synced 2025-03-05 20:48:51 -08:00
Fix some typos (#651)
This commit is contained in:
parent
ba6ce9fb25
commit
7805a7551c
|
@ -139,7 +139,7 @@ public final class Version {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>Encapsualtes the parameters for one error-correction block in one symbol version.
|
* <p>Encapsulates the parameters for one error-correction block in one symbol version.
|
||||||
* This includes the number of data codewords, and the number of times a block with these
|
* This includes the number of data codewords, and the number of times a block with these
|
||||||
* parameters is used consecutively in the Data Matrix code version's format.</p>
|
* parameters is used consecutively in the Data Matrix code version's format.</p>
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -153,7 +153,7 @@ public final class Version {
|
||||||
int i = alignmentPatternCenters[x] - 2;
|
int i = alignmentPatternCenters[x] - 2;
|
||||||
for (int y = 0; y < max; y++) {
|
for (int y = 0; y < max; y++) {
|
||||||
if ((x == 0 && (y == 0 || y == max - 1)) || (x == max - 1 && y == 0)) {
|
if ((x == 0 && (y == 0 || y == max - 1)) || (x == max - 1 && y == 0)) {
|
||||||
// No alignment patterns near the three finder paterns
|
// No alignment patterns near the three finder patterns
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
bitMatrix.setRegion(alignmentPatternCenters[y] - 2, i, 5, 5);
|
bitMatrix.setRegion(alignmentPatternCenters[y] - 2, i, 5, 5);
|
||||||
|
@ -212,7 +212,7 @@ public final class Version {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>Encapsualtes the parameters for one error-correction block in one symbol version.
|
* <p>Encapsulates the parameters for one error-correction block in one symbol version.
|
||||||
* This includes the number of data codewords, and the number of times a block with these
|
* This includes the number of data codewords, and the number of times a block with these
|
||||||
* parameters is used consecutively in the QR code version's format.</p>
|
* parameters is used consecutively in the QR code version's format.</p>
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue