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 db6b7bc6 Javadoc: The @deprecated tag should be last.
db6b7bc6 is described below

commit db6b7bc648b20b836cedf27319b2f66d20169dd6
Author: Gary Gregory <[email protected]>
AuthorDate: Wed Dec 31 18:34:21 2025 -0500

    Javadoc: The @deprecated tag should be last.
---
 src/main/java/org/apache/commons/codec/Charsets.java         | 12 ++++++------
 src/main/java/org/apache/commons/codec/language/Soundex.java |  2 +-
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/main/java/org/apache/commons/codec/Charsets.java 
b/src/main/java/org/apache/commons/codec/Charsets.java
index e2b12144..b2c26e6d 100644
--- a/src/main/java/org/apache/commons/codec/Charsets.java
+++ b/src/main/java/org/apache/commons/codec/Charsets.java
@@ -69,8 +69,8 @@ public class Charsets {
      * Every implementation of the Java platform is required to support this 
character encoding.
      * </p>
      *
-     * @deprecated Use {@link java.nio.charset.StandardCharsets#ISO_8859_1} 
instead.
      * @see <a 
href="https://docs.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html";>Standard
 charsets</a>
+     * @deprecated Use {@link java.nio.charset.StandardCharsets#ISO_8859_1} 
instead.
      */
     @Deprecated
     public static final Charset ISO_8859_1 = StandardCharsets.ISO_8859_1;
@@ -81,8 +81,8 @@ public class Charsets {
      * Every implementation of the Java platform is required to support this 
character encoding.
      * </p>
      *
-     * @deprecated Use {@link java.nio.charset.StandardCharsets#US_ASCII} 
instead.
      * @see <a 
href="https://docs.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html";>Standard
 charsets</a>
+     * @deprecated Use {@link java.nio.charset.StandardCharsets#US_ASCII} 
instead.
      */
     @Deprecated
     public static final Charset US_ASCII = StandardCharsets.US_ASCII;
@@ -94,8 +94,8 @@ public class Charsets {
      * Every implementation of the Java platform is required to support this 
character encoding.
      * </p>
      *
-     * @deprecated Use {@link java.nio.charset.StandardCharsets#UTF_16} 
instead.
      * @see <a 
href="https://docs.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html";>Standard
 charsets</a>
+     * @deprecated Use {@link java.nio.charset.StandardCharsets#UTF_16} 
instead.
      */
     @Deprecated
     public static final Charset UTF_16 = StandardCharsets.UTF_16;
@@ -106,8 +106,8 @@ public class Charsets {
      * Every implementation of the Java platform is required to support this 
character encoding.
      * </p>
      *
-     * @deprecated Use {@link java.nio.charset.StandardCharsets#UTF_16BE} 
instead.
      * @see <a 
href="https://docs.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html";>Standard
 charsets</a>
+     * @deprecated Use {@link java.nio.charset.StandardCharsets#UTF_16BE} 
instead.
      */
     @Deprecated
     public static final Charset UTF_16BE = StandardCharsets.UTF_16BE;
@@ -118,8 +118,8 @@ public class Charsets {
      * Every implementation of the Java platform is required to support this 
character encoding.
      * </p>
      *
-     * @deprecated Use {@link java.nio.charset.StandardCharsets#UTF_16LE} 
instead.
      * @see <a 
href="https://docs.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html";>Standard
 charsets</a>
+     * @deprecated Use {@link java.nio.charset.StandardCharsets#UTF_16LE} 
instead.
      */
     @Deprecated
     public static final Charset UTF_16LE = StandardCharsets.UTF_16LE;
@@ -130,8 +130,8 @@ public class Charsets {
      * Every implementation of the Java platform is required to support this 
character encoding.
      * </p>
      *
-     * @deprecated Use {@link java.nio.charset.StandardCharsets#UTF_8} instead.
      * @see <a 
href="https://docs.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html";>Standard
 charsets</a>
+     * @deprecated Use {@link java.nio.charset.StandardCharsets#UTF_8} instead.
      */
     @Deprecated
     public static final Charset UTF_8 = StandardCharsets.UTF_8;
diff --git a/src/main/java/org/apache/commons/codec/language/Soundex.java 
b/src/main/java/org/apache/commons/codec/language/Soundex.java
index 34c4ca9e..e7c19ee9 100644
--- a/src/main/java/org/apache/commons/codec/language/Soundex.java
+++ b/src/main/java/org/apache/commons/codec/language/Soundex.java
@@ -259,8 +259,8 @@ public class Soundex implements StringEncoder {
     /**
      * Sets the maxLength.
      *
-     * @deprecated This feature is not needed since the encoding size must be 
constant. Will be removed in 2.0.
      * @param maxLength The maxLength to set.
+     * @deprecated This feature is not needed since the encoding size must be 
constant. Will be removed in 2.0.
      */
     @Deprecated
     public void setMaxLength(final int maxLength) {

Reply via email to