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-lang.git
The following commit(s) were added to refs/heads/master by this push:
new f6bd637c0 Javadoc: The @deprecated tag should be last.
f6bd637c0 is described below
commit f6bd637c00444035bf1dcb7a23ebecf502c954b2
Author: Gary Gregory <[email protected]>
AuthorDate: Wed Dec 31 18:36:47 2025 -0500
Javadoc: The @deprecated tag should be last.
---
src/main/java/org/apache/commons/lang3/StringUtils.java | 2 +-
src/main/java/org/apache/commons/lang3/SystemUtils.java | 2 +-
src/main/java/org/apache/commons/lang3/reflect/FieldUtils.java | 2 +-
src/main/java/org/apache/commons/lang3/time/FastDatePrinter.java | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/main/java/org/apache/commons/lang3/StringUtils.java
b/src/main/java/org/apache/commons/lang3/StringUtils.java
index 58f557621..22d12e45b 100644
--- a/src/main/java/org/apache/commons/lang3/StringUtils.java
+++ b/src/main/java/org/apache/commons/lang3/StringUtils.java
@@ -8722,8 +8722,8 @@ public static String toRootUpperCase(final String source)
{
* @param charsetName the encoding to use, if null then use the platform
default.
* @return a new String.
* @throws NullPointerException if the input is null.
- * @deprecated Use {@link StringUtils#toEncodedString(byte[], Charset)}
instead of String constants in your code.
* @since 3.1
+ * @deprecated Use {@link StringUtils#toEncodedString(byte[], Charset)}
instead of String constants in your code.
*/
@Deprecated
public static String toString(final byte[] bytes, final String
charsetName) {
diff --git a/src/main/java/org/apache/commons/lang3/SystemUtils.java
b/src/main/java/org/apache/commons/lang3/SystemUtils.java
index 519a5560a..4c869731e 100644
--- a/src/main/java/org/apache/commons/lang3/SystemUtils.java
+++ b/src/main/java/org/apache/commons/lang3/SystemUtils.java
@@ -84,8 +84,8 @@ public class SystemUtils {
* </p>
*
* @see SystemProperties#getFileSeparator()
- * @deprecated Use {@link File#separator}, since it is guaranteed to be a
string containing a single character and it does not require a privilege check.
* @since Java 1.1
+ * @deprecated Use {@link File#separator}, since it is guaranteed to be a
string containing a single character and it does not require a privilege check.
*/
@Deprecated
public static final String FILE_SEPARATOR =
SystemProperties.getFileSeparator();
diff --git a/src/main/java/org/apache/commons/lang3/reflect/FieldUtils.java
b/src/main/java/org/apache/commons/lang3/reflect/FieldUtils.java
index 42b04777b..c2f075710 100644
--- a/src/main/java/org/apache/commons/lang3/reflect/FieldUtils.java
+++ b/src/main/java/org/apache/commons/lang3/reflect/FieldUtils.java
@@ -576,10 +576,10 @@ public static void removeFinalModifier(final Field field)
{
* if the field is {@code null}.
* @throws SecurityException if an underlying accessible object's method
denies the request.
* @see SecurityManager#checkPermission
+ * @since 3.3
* @deprecated As of Java 12, we can no longer drop the {@code final}
modifier, thus
* rendering this method obsolete. The JDK discussion about
this change can be found
* here:
https://mail.openjdk.java.net/pipermail/core-libs-dev/2018-November/056486.html
- * @since 3.3
*/
@Deprecated
public static void removeFinalModifier(final Field field, final boolean
forceAccess) {
diff --git a/src/main/java/org/apache/commons/lang3/time/FastDatePrinter.java
b/src/main/java/org/apache/commons/lang3/time/FastDatePrinter.java
index f4b855fe6..ab53269ad 100644
--- a/src/main/java/org/apache/commons/lang3/time/FastDatePrinter.java
+++ b/src/main/java/org/apache/commons/lang3/time/FastDatePrinter.java
@@ -1232,11 +1232,11 @@ String format(final Object obj) {
* Formats a {@link Date}, {@link Calendar} or
* {@link Long} (milliseconds) object.
*
- * @deprecated Use {{@link #format(Date)}, {{@link #format(Calendar)},
{{@link #format(long)}.
* @param obj the object to format.
* @param toAppendTo the buffer to append to.
* @param pos the position; ignored.
* @return the buffer passed in.
+ * @deprecated Use {{@link #format(Date)}, {{@link #format(Calendar)},
{{@link #format(long)}.
*/
@Deprecated
@Override