From c1001558ba7b758bb87af700d2d97cd081581aa9 Mon Sep 17 00:00:00 2001 From: Project Nayuki Date: Sun, 23 Aug 2026 22:44:58 +0000 Subject: [PATCH] Fixed documentation where the fast Java QR Code library differs from the standard version. --- java-fast/io/nayuki/fastqrcodegen/QrSegment.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/java-fast/io/nayuki/fastqrcodegen/QrSegment.java b/java-fast/io/nayuki/fastqrcodegen/QrSegment.java index 7ac0234..db0468c 100644 --- a/java-fast/io/nayuki/fastqrcodegen/QrSegment.java +++ b/java-fast/io/nayuki/fastqrcodegen/QrSegment.java @@ -237,7 +237,8 @@ public final class QrSegment { /** * Constructs a QR Code segment with the specified attributes and data. * The character count (numCh) must agree with the mode and the bit buffer length, - * but the constraint isn't checked. The specified bit buffer is cloned and stored. + * but the constraint isn't checked. The specified bit buffer is stored, and other + * code must not change any value in the array until this segment is discarded. * @param md the mode (not {@code null}) * @param numCh the data length in characters or bytes, which is non-negative * @param data the data bits (not {@code null})