Split long lines in 2 comments in {Java, JavaScript, Python, C++} language versions, without changing wording.

This commit is contained in:
Project Nayuki
2017-08-31 20:13:05 +00:00
parent d8b66fcbf1
commit 2fd05cc7ef
6 changed files with 24 additions and 16 deletions
+3 -2
View File
@@ -820,8 +820,9 @@ public final class QrCode {
/*-- Method --*/
/**
* Computes and returns the Reed-Solomon error correction codewords for the specified sequence of data codewords.
* The returned object is always a new byte array. This method does not alter this object's state (because it is immutable).
* Computes and returns the Reed-Solomon error correction codewords for the specified
* sequence of data codewords. The returned object is always a new byte array.
* This method does not alter this object's state (because it is immutable).
* @param data the sequence of data codewords
* @return the Reed-Solomon error correction codewords
* @throws NullPointerException if the data is {@code null}
+3 -2
View File
@@ -81,8 +81,9 @@ public final class QrSegment {
/**
* Returns a segment representing the specified text string encoded in alphanumeric mode. The characters allowed are:
* 0 to 9, A to Z (uppercase only), space, dollar, percent, asterisk, plus, hyphen, period, slash, colon.
* Returns a segment representing the specified text string encoded in alphanumeric mode.
* The characters allowed are: 0 to 9, A to Z (uppercase only), space,
* dollar, percent, asterisk, plus, hyphen, period, slash, colon.
* @param text a string of text, with only certain characters allowed
* @return a segment containing the data
* @throws NullPointerException if the string is {@code null}