You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2020/05/18 13:26:44 UTC
[commons-codec] 03/06: Javadoc: Close HTML tags.
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-codec.git
commit 5b2b313b67cf5b6e79f9600e3f014d95c7f08ae5
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Mon May 18 09:19:32 2020 -0400
Javadoc: Close HTML tags.
---
src/main/java/org/apache/commons/codec/net/BCodec.java | 2 ++
src/main/java/org/apache/commons/codec/net/QCodec.java | 2 ++
.../org/apache/commons/codec/net/QuotedPrintableCodec.java | 10 ++++++++--
src/main/java/org/apache/commons/codec/net/URLCodec.java | 4 +++-
4 files changed, 15 insertions(+), 3 deletions(-)
diff --git a/src/main/java/org/apache/commons/codec/net/BCodec.java b/src/main/java/org/apache/commons/codec/net/BCodec.java
index e9f9ecc..06eda58 100644
--- a/src/main/java/org/apache/commons/codec/net/BCodec.java
+++ b/src/main/java/org/apache/commons/codec/net/BCodec.java
@@ -36,8 +36,10 @@ import org.apache.commons.codec.binary.BaseNCodec;
* <a href="http://www.ietf.org/rfc/rfc1522.txt">RFC 1522</a> describes techniques to allow the encoding of non-ASCII
* text in various portions of a RFC 822 [2] message header, in a manner which is unlikely to confuse existing message
* handling software.
+ * </p>
* <p>
* This class is immutable and thread-safe.
+ * </p>
*
* @see <a href="http://www.ietf.org/rfc/rfc1522.txt">MIME (Multipurpose Internet Mail Extensions) Part Two: Message
* Header Extensions for Non-ASCII Text</a>
diff --git a/src/main/java/org/apache/commons/codec/net/QCodec.java b/src/main/java/org/apache/commons/codec/net/QCodec.java
index 86d4a50..3098f60 100644
--- a/src/main/java/org/apache/commons/codec/net/QCodec.java
+++ b/src/main/java/org/apache/commons/codec/net/QCodec.java
@@ -35,6 +35,7 @@ import org.apache.commons.codec.StringEncoder;
* <a href="http://www.ietf.org/rfc/rfc1522.txt">RFC 1522</a> describes techniques to allow the encoding of non-ASCII
* text in various portions of a RFC 822 [2] message header, in a manner which is unlikely to confuse existing message
* handling software.
+ * </p>
* <p>
* This class is conditionally thread-safe.
* The instance field for encoding blanks is mutable {@link #setEncodeBlanks(boolean)}
@@ -42,6 +43,7 @@ import org.apache.commons.codec.StringEncoder;
* If an instance of the class is shared between threads, the caller needs to ensure that suitable synchronisation
* is used to ensure safe publication of the value between threads, and must not invoke
* {@link #setEncodeBlanks(boolean)} after initial setup.
+ * </p>
*
* @see <a href="http://www.ietf.org/rfc/rfc1522.txt">MIME (Multipurpose Internet Mail Extensions) Part Two: Message
* Header Extensions for Non-ASCII Text</a>
diff --git a/src/main/java/org/apache/commons/codec/net/QuotedPrintableCodec.java b/src/main/java/org/apache/commons/codec/net/QuotedPrintableCodec.java
index 0a99bb1..e18b298 100644
--- a/src/main/java/org/apache/commons/codec/net/QuotedPrintableCodec.java
+++ b/src/main/java/org/apache/commons/codec/net/QuotedPrintableCodec.java
@@ -42,20 +42,26 @@ import org.apache.commons.codec.binary.StringUtils;
* data remains largely recognizable by humans. A body which is entirely ASCII may also be encoded in Quoted-Printable
* to ensure the integrity of the data should the message pass through a character- translating, and/or line-wrapping
* gateway.
+ * </p>
* <p>
* Note:
+ * </p>
* <p>
* Depending on the selected {@code strict} parameter, this class will implement a different set of rules of the
* quoted-printable spec:
+ * </p>
* <ul>
- * <li>{@code strict=false}: only rules #1 and #2 are implemented
- * <li>{@code strict=true}: all rules #1 through #5 are implemented
+ * <li>{@code strict=false}: only rules #1 and #2 are implemented</li>
+ * <li>{@code strict=true}: all rules #1 through #5 are implemented</li>
* </ul>
+ * <p>
* Originally, this class only supported the non-strict mode, but the codec in this partial form could already be used
* for certain applications that do not require quoted-printable line formatting (rules #3, #4, #5), for instance
* Q codec. The strict mode has been added in 1.10.
+ * </p>
* <p>
* This class is immutable and thread-safe.
+ * </p>
*
* @see <a href="http://www.ietf.org/rfc/rfc1521.txt">RFC 1521 MIME (Multipurpose Internet Mail Extensions) Part One:
* Mechanisms for Specifying and Describing the Format of Internet Message Bodies </a>
diff --git a/src/main/java/org/apache/commons/codec/net/URLCodec.java b/src/main/java/org/apache/commons/codec/net/URLCodec.java
index 2d3f9f5..07a3e25 100644
--- a/src/main/java/org/apache/commons/codec/net/URLCodec.java
+++ b/src/main/java/org/apache/commons/codec/net/URLCodec.java
@@ -36,8 +36,10 @@ import org.apache.commons.codec.binary.StringUtils;
* This codec is meant to be a replacement for standard Java classes {@link java.net.URLEncoder} and
* {@link java.net.URLDecoder} on older Java platforms, as these classes in Java versions below
* 1.4 rely on the platform's default charset encoding.
+ * </p>
* <p>
- * This class is thread-safe since 1.11
+ * This class is thread-safe as of 1.11
+ * </p>
*
* @see <a href="http://www.w3.org/TR/html4/interact/forms.html#h-17.13.4.1">Chapter 17.13.4 Form content types</a>
* of the <a href="http://www.w3.org/TR/html4/">HTML 4.01 Specification</a>