Fixed Javadoc syntax errors.

This commit is contained in:
Project Nayuki 2018-10-05 04:35:08 +00:00
parent b6bbaddf4f
commit 492ebeb5ab
2 changed files with 3 additions and 3 deletions

View File

@ -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<QrSegment> segs, Ecc ecl, int minVersion, int maxVersion, int mask, boolean boostEcl) {

View File

@ -229,7 +229,7 @@ public final class QrSegmentAdvanced {
/**
* Returns a segment representing the specified string encoded in kanji mode.
* <p>Note that broadly speaking, the set of encodable characters are {kanji used in Japan,
* hiragana, katakana, East Asian punctuation, full-width ASCII, Greek, Cyrillic}.<br/>
* hiragana, katakana, East Asian punctuation, full-width ASCII, Greek, Cyrillic}.<br>
* 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.
* <p>Note that broadly speaking, the set of encodable characters are {kanji used in Japan,
* hiragana, katakana, East Asian punctuation, full-width ASCII, Greek, Cyrillic}.<br/>
* hiragana, katakana, East Asian punctuation, full-width ASCII, Greek, Cyrillic}.<br>
* 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