Tweaked Javadoc to use the word "constructs" instead of "creates" for constructors.

This commit is contained in:
Project Nayuki 2018-08-22 18:05:43 +00:00
parent b756fcd8b1
commit d8d2da49e4
2 changed files with 3 additions and 3 deletions

View File

@ -197,7 +197,7 @@ public final class QrCode {
/*---- Constructor ----*/ /*---- Constructor ----*/
/** /**
* Creates a new QR Code symbol with the specified version number, error correction level, binary data array, and mask number. * Constructs a QR Code symbol with the specified version number, error correction level, binary data array, and mask number.
* <p>This is a cumbersome low-level constructor that should not be invoked directly by the user. * <p>This is a cumbersome low-level constructor that should not be invoked directly by the user.
* To go one level up, see the {@link #encodeSegments(List,Ecc)} function.</p> * To go one level up, see the {@link #encodeSegments(List,Ecc)} function.</p>
* @param ver the version number to use, which must be in the range 1 to 40, inclusive * @param ver the version number to use, which must be in the range 1 to 40, inclusive
@ -777,7 +777,7 @@ public final class QrCode {
/*-- Constructor --*/ /*-- Constructor --*/
/** /**
* Creates a Reed-Solomon ECC generator for the specified degree. This could be implemented * Constructs a Reed-Solomon ECC generator for the specified degree. This could be implemented
* as a lookup table over all possible parameter values, instead of as an algorithm. * as a lookup table over all possible parameter values, instead of as an algorithm.
* @param degree the divisor polynomial degree, which must be between 1 and 255 * @param degree the divisor polynomial degree, which must be between 1 and 255
* @throws IllegalArgumentException if degree &lt; 1 or degree > 255 * @throws IllegalArgumentException if degree &lt; 1 or degree > 255

View File

@ -169,7 +169,7 @@ public final class QrSegment {
/*---- Constructor ----*/ /*---- Constructor ----*/
/** /**
* Creates a new QR Code data segment with the specified parameters and data. * Constructs a QR Code data segment with the specified parameters and data.
* @param md the mode, which is not {@code null} * @param md the mode, which is not {@code null}
* @param numCh the data length in characters, which is non-negative * @param numCh the data length in characters, which is non-negative
* @param data the data bits of this segment, which is not {@code null} * @param data the data bits of this segment, which is not {@code null}