diff --git a/java/src/main/java/io/nayuki/qrcodegen/DataTooLongException.java b/java/src/main/java/io/nayuki/qrcodegen/DataTooLongException.java index 0cbefc7..f1453ef 100644 --- a/java/src/main/java/io/nayuki/qrcodegen/DataTooLongException.java +++ b/java/src/main/java/io/nayuki/qrcodegen/DataTooLongException.java @@ -33,17 +33,17 @@ package io.nayuki.qrcodegen; * if it was less than {@link QrCode#MAX_VERSION}. (This advice does not apply to the other * factory functions because they search all versions up to {@code QrCode.MAX_VERSION}.)

*
  • Split the text data into better or optimal segments in order to reduce the number of - * bits required. (See {@link QrSegmentAdvanced#makeSegmentsOptimally(String,QrCode.Ecc,int,int) + * bits required. (See {@link QrSegmentAdvanced#makeSegmentsOptimally(CharSequence,QrCode.Ecc,int,int) * QrSegmentAdvanced.makeSegmentsOptimally()}.)

  • *
  • Change the text or binary data to be shorter.

  • *
  • Change the text to fit the character set of a particular segment mode (e.g. alphanumeric).

  • *
  • Propagate the error upward to the caller/user.

  • * - * @see QrCode#encodeText(String, QrCode.Ecc) + * @see QrCode#encodeText(CharSequence, QrCode.Ecc) * @see QrCode#encodeBinary(byte[], QrCode.Ecc) * @see QrCode#encodeSegments(java.util.List, QrCode.Ecc) * @see QrCode#encodeSegments(java.util.List, QrCode.Ecc, int, int, int, boolean) - * @see QrSegmentAdvanced#makeSegmentsOptimally(String, QrCode.Ecc, int, int) + * @see QrSegmentAdvanced#makeSegmentsOptimally(CharSequence, QrCode.Ecc, int, int) */ public class DataTooLongException extends IllegalArgumentException { diff --git a/java/src/main/java/io/nayuki/qrcodegen/QrCode.java b/java/src/main/java/io/nayuki/qrcodegen/QrCode.java index 8e6ef09..ee7d28e 100644 --- a/java/src/main/java/io/nayuki/qrcodegen/QrCode.java +++ b/java/src/main/java/io/nayuki/qrcodegen/QrCode.java @@ -37,7 +37,7 @@ import java.util.Objects; * from 1 to 40, all 4 error correction levels, and 4 character encoding modes.

    *

    Ways to create a QR Code object:

    *