From d8d2da49e499e22cfcc8e567298f376ca6ff03a7 Mon Sep 17 00:00:00 2001 From: Project Nayuki Date: Wed, 22 Aug 2018 18:05:43 +0000 Subject: [PATCH] Tweaked Javadoc to use the word "constructs" instead of "creates" for constructors. --- java/io/nayuki/qrcodegen/QrCode.java | 4 ++-- java/io/nayuki/qrcodegen/QrSegment.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/java/io/nayuki/qrcodegen/QrCode.java b/java/io/nayuki/qrcodegen/QrCode.java index d1542fe..f390eeb 100644 --- a/java/io/nayuki/qrcodegen/QrCode.java +++ b/java/io/nayuki/qrcodegen/QrCode.java @@ -197,7 +197,7 @@ public final class QrCode { /*---- 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. *

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.

* @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 --*/ /** - * 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. * @param degree the divisor polynomial degree, which must be between 1 and 255 * @throws IllegalArgumentException if degree < 1 or degree > 255 diff --git a/java/io/nayuki/qrcodegen/QrSegment.java b/java/io/nayuki/qrcodegen/QrSegment.java index 91098a2..4dbb6a6 100644 --- a/java/io/nayuki/qrcodegen/QrSegment.java +++ b/java/io/nayuki/qrcodegen/QrSegment.java @@ -169,7 +169,7 @@ public final class QrSegment { /*---- 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 numCh the data length in characters, which is non-negative * @param data the data bits of this segment, which is not {@code null}