From 3fda371340fa53a01228828d24e4f4ccad33fbb8 Mon Sep 17 00:00:00 2001 From: Nayuki Minase Date: Sat, 16 Apr 2016 01:14:22 +0000 Subject: [PATCH] Tweaked the comment for QrCode.encodeTextToSegment() in most language versions. --- cpp/QrCode.hpp | 2 +- java/io/nayuki/qrcodegen/QrCode.java | 4 ++-- python/qrcodegen.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cpp/QrCode.hpp b/cpp/QrCode.hpp index 445170d..82107a5 100644 --- a/cpp/QrCode.hpp +++ b/cpp/QrCode.hpp @@ -75,7 +75,7 @@ public: /* - * Returns a QR Code segment representing the given Unicode text string. + * Returns a QR segment representing the given Unicode text string. */ static QrSegment encodeTextToSegment(const char *text); diff --git a/java/io/nayuki/qrcodegen/QrCode.java b/java/io/nayuki/qrcodegen/QrCode.java index 304e2df..d04cf7b 100644 --- a/java/io/nayuki/qrcodegen/QrCode.java +++ b/java/io/nayuki/qrcodegen/QrCode.java @@ -59,9 +59,9 @@ public final class QrCode { /** - * Returns a QR Code segment representing the specified Unicode text string. + * Returns a QR segment representing the specified Unicode text string. * @param text the text to be encoded, which can be any Unicode string - * @return a QR Code representing the text + * @return a QR segment containing the text * @throws NullPointerException if the text is {@code null} */ public static QrSegment encodeTextToSegment(String text) { diff --git a/python/qrcodegen.py b/python/qrcodegen.py index bd674c8..eeda106 100644 --- a/python/qrcodegen.py +++ b/python/qrcodegen.py @@ -69,7 +69,7 @@ def encode_text(text, ecl): def encode_text_to_segment(text): - """Returns a QR Code segment representing the given Unicode text string.""" + """Returns a QR segment representing the given Unicode text string.""" if not isinstance(text, str) and (sys.version_info[0] >= 3 or not isinstance(text, unicode)): raise TypeError("Text string expected") # Select the most efficient segment encoding automatically