Fix some typos (#651)

This commit is contained in:
Sebastian Buchwald 2016-08-22 11:29:31 +02:00 committed by Sean Owen
parent ba6ce9fb25
commit 7805a7551c
2 changed files with 3 additions and 3 deletions

View file

@ -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
* parameters is used consecutively in the Data Matrix code version's format.</p>
*/

View file

@ -153,7 +153,7 @@ public final class Version {
int i = alignmentPatternCenters[x] - 2;
for (int y = 0; y < max; y++) {
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;
}
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
* parameters is used consecutively in the QR code version's format.</p>
*/