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


The following commit(s) were added to refs/heads/master by this push:
     new 4f054082 Javadoc
4f054082 is described below

commit 4f0540829d9bd6b3e3e5e2a982f5f929fd42d83c
Author: Gary D. Gregory <garydgreg...@gmail.com>
AuthorDate: Sat Feb 15 09:25:07 2025 -0500

    Javadoc
---
 src/main/java/org/apache/commons/codec/Charsets.java | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/src/main/java/org/apache/commons/codec/Charsets.java 
b/src/main/java/org/apache/commons/codec/Charsets.java
index 5103b6a5..e999eb64 100644
--- a/src/main/java/org/apache/commons/codec/Charsets.java
+++ b/src/main/java/org/apache/commons/codec/Charsets.java
@@ -141,7 +141,7 @@ public class Charsets {
      *
      * @param charset
      *            A charset or null.
-     * @return the given Charset or the default Charset if the given Charset 
is null
+     * @return the given Charset or the default Charset if the given Charset 
is null.
      */
     public static Charset toCharset(final Charset charset) {
         return charset == null ? Charset.defaultCharset() : charset;
@@ -150,11 +150,9 @@ public class Charsets {
     /**
      * Returns a Charset for the named charset. If the name is null, return 
the default Charset.
      *
-     * @param charset
-     *            The name of the requested charset, may be null.
+     * @param charset The name of the requested charset, may be null.
      * @return a Charset for the named charset
-     * @throws java.nio.charset.UnsupportedCharsetException
-     *             If the named charset is unavailable
+     * @throws java.nio.charset.UnsupportedCharsetException If the named 
charset is unavailable
      */
     public static Charset toCharset(final String charset) {
         return charset == null ? Charset.defaultCharset() : 
Charset.forName(charset);

Reply via email to