Skip to content

Commit db6b7bc

Browse files
committed
Javadoc: The @deprecated tag should be last.
1 parent 14b5d6a commit db6b7bc

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

src/main/java/org/apache/commons/codec/Charsets.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ public class Charsets {
6969
* Every implementation of the Java platform is required to support this character encoding.
7070
* </p>
7171
*
72-
* @deprecated Use {@link java.nio.charset.StandardCharsets#ISO_8859_1} instead.
7372
* @see <a href="https://docs.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
73+
* @deprecated Use {@link java.nio.charset.StandardCharsets#ISO_8859_1} instead.
7474
*/
7575
@Deprecated
7676
public static final Charset ISO_8859_1 = StandardCharsets.ISO_8859_1;
@@ -81,8 +81,8 @@ public class Charsets {
8181
* Every implementation of the Java platform is required to support this character encoding.
8282
* </p>
8383
*
84-
* @deprecated Use {@link java.nio.charset.StandardCharsets#US_ASCII} instead.
8584
* @see <a href="https://docs.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
85+
* @deprecated Use {@link java.nio.charset.StandardCharsets#US_ASCII} instead.
8686
*/
8787
@Deprecated
8888
public static final Charset US_ASCII = StandardCharsets.US_ASCII;
@@ -94,8 +94,8 @@ public class Charsets {
9494
* Every implementation of the Java platform is required to support this character encoding.
9595
* </p>
9696
*
97-
* @deprecated Use {@link java.nio.charset.StandardCharsets#UTF_16} instead.
9897
* @see <a href="https://docs.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
98+
* @deprecated Use {@link java.nio.charset.StandardCharsets#UTF_16} instead.
9999
*/
100100
@Deprecated
101101
public static final Charset UTF_16 = StandardCharsets.UTF_16;
@@ -106,8 +106,8 @@ public class Charsets {
106106
* Every implementation of the Java platform is required to support this character encoding.
107107
* </p>
108108
*
109-
* @deprecated Use {@link java.nio.charset.StandardCharsets#UTF_16BE} instead.
110109
* @see <a href="https://docs.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
110+
* @deprecated Use {@link java.nio.charset.StandardCharsets#UTF_16BE} instead.
111111
*/
112112
@Deprecated
113113
public static final Charset UTF_16BE = StandardCharsets.UTF_16BE;
@@ -118,8 +118,8 @@ public class Charsets {
118118
* Every implementation of the Java platform is required to support this character encoding.
119119
* </p>
120120
*
121-
* @deprecated Use {@link java.nio.charset.StandardCharsets#UTF_16LE} instead.
122121
* @see <a href="https://docs.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
122+
* @deprecated Use {@link java.nio.charset.StandardCharsets#UTF_16LE} instead.
123123
*/
124124
@Deprecated
125125
public static final Charset UTF_16LE = StandardCharsets.UTF_16LE;
@@ -130,8 +130,8 @@ public class Charsets {
130130
* Every implementation of the Java platform is required to support this character encoding.
131131
* </p>
132132
*
133-
* @deprecated Use {@link java.nio.charset.StandardCharsets#UTF_8} instead.
134133
* @see <a href="https://docs.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
134+
* @deprecated Use {@link java.nio.charset.StandardCharsets#UTF_8} instead.
135135
*/
136136
@Deprecated
137137
public static final Charset UTF_8 = StandardCharsets.UTF_8;

src/main/java/org/apache/commons/codec/language/Soundex.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,8 +259,8 @@ private char map(final char ch) {
259259
/**
260260
* Sets the maxLength.
261261
*
262-
* @deprecated This feature is not needed since the encoding size must be constant. Will be removed in 2.0.
263262
* @param maxLength The maxLength to set.
263+
* @deprecated This feature is not needed since the encoding size must be constant. Will be removed in 2.0.
264264
*/
265265
@Deprecated
266266
public void setMaxLength(final int maxLength) {

0 commit comments

Comments
 (0)