From 492ebeb5ab7566b80caafa5804354fe8103e6ae2 Mon Sep 17 00:00:00 2001 From: Project Nayuki Date: Fri, 5 Oct 2018 04:35:08 +0000 Subject: [PATCH] Fixed Javadoc syntax errors. --- java/io/nayuki/qrcodegen/QrCode.java | 2 +- java/io/nayuki/qrcodegen/QrSegmentAdvanced.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/java/io/nayuki/qrcodegen/QrCode.java b/java/io/nayuki/qrcodegen/QrCode.java index f26b95c..b210698 100644 --- a/java/io/nayuki/qrcodegen/QrCode.java +++ b/java/io/nayuki/qrcodegen/QrCode.java @@ -116,7 +116,7 @@ public final class QrCode { * @return a QR Code representing the segments * @throws NullPointerException if the list of segments, any segment, or the error correction level is {@code null} * @throws IllegalArgumentException if 1 ≤ minVersion ≤ maxVersion ≤ 40 - * is violated, or if mask < −1 or mask > 7, or if the segments fail + * is violated, or if mask < −1 or mask > 7, or if the segments fail * to fit in the maxVersion QR Code at the ECL, which means they are too long */ public static QrCode encodeSegments(List segs, Ecc ecl, int minVersion, int maxVersion, int mask, boolean boostEcl) { diff --git a/java/io/nayuki/qrcodegen/QrSegmentAdvanced.java b/java/io/nayuki/qrcodegen/QrSegmentAdvanced.java index dfad00b..a63225e 100644 --- a/java/io/nayuki/qrcodegen/QrSegmentAdvanced.java +++ b/java/io/nayuki/qrcodegen/QrSegmentAdvanced.java @@ -229,7 +229,7 @@ public final class QrSegmentAdvanced { /** * Returns a segment representing the specified string encoded in kanji mode. *

Note that broadly speaking, the set of encodable characters are {kanji used in Japan, - * hiragana, katakana, East Asian punctuation, full-width ASCII, Greek, Cyrillic}.
+ * hiragana, katakana, East Asian punctuation, full-width ASCII, Greek, Cyrillic}.
* Examples of non-encodable characters include {normal ASCII, half-width katakana, more extensive Chinese hanzi}. * @param text the text to be encoded, which must fall in the kanji mode subset of characters * @return a segment containing the data @@ -253,7 +253,7 @@ public final class QrSegmentAdvanced { /** * Tests whether the specified text string can be encoded as a segment in kanji mode. *

Note that broadly speaking, the set of encodable characters are {kanji used in Japan, - * hiragana, katakana, East Asian punctuation, full-width ASCII, Greek, Cyrillic}.
+ * hiragana, katakana, East Asian punctuation, full-width ASCII, Greek, Cyrillic}.
* Examples of non-encodable characters include {normal ASCII, half-width katakana, more extensive Chinese hanzi}. * @param text the string to test for encodability * @return {@code true} if and only if the string can be encoded in kanji mode