This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch 1.X
in repository https://gitbox.apache.org/repos/asf/commons-beanutils.git
The following commit(s) were added to refs/heads/1.X by this push:
new c0a50b0e Javadoc: The @deprecated tag should be last.
c0a50b0e is described below
commit c0a50b0e6a004daf0665694af2406870e6e4dbbb
Author: Gary Gregory <[email protected]>
AuthorDate: Wed Dec 31 18:33:58 2025 -0500
Javadoc: The @deprecated tag should be last.
---
src/main/java/org/apache/commons/beanutils/BeanUtils.java | 2 +-
src/main/java/org/apache/commons/beanutils/BeanUtilsBean.java | 2 +-
src/main/java/org/apache/commons/beanutils/locale/LocaleBeanUtils.java | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/main/java/org/apache/commons/beanutils/BeanUtils.java
b/src/main/java/org/apache/commons/beanutils/BeanUtils.java
index 43d9638e..ae4974f7 100644
--- a/src/main/java/org/apache/commons/beanutils/BeanUtils.java
+++ b/src/main/java/org/apache/commons/beanutils/BeanUtils.java
@@ -378,8 +378,8 @@ public class BeanUtils {
* @param cause The cause of the throwable.
* @return always true in 1.10.0.
* @since 1.8.0
- * @deprecated Use {@link Throwable#initCause(Throwable)}.
* @see Throwable#initCause(Throwable)
+ * @deprecated Use {@link Throwable#initCause(Throwable)}.
*/
@Deprecated
public static boolean initCause(final Throwable throwable, final Throwable
cause) {
diff --git a/src/main/java/org/apache/commons/beanutils/BeanUtilsBean.java
b/src/main/java/org/apache/commons/beanutils/BeanUtilsBean.java
index 9a9f450d..364e1e81 100644
--- a/src/main/java/org/apache/commons/beanutils/BeanUtilsBean.java
+++ b/src/main/java/org/apache/commons/beanutils/BeanUtilsBean.java
@@ -764,8 +764,8 @@ public class BeanUtilsBean {
* @param cause The cause of the throwable.
* @return always true in 1.10.0.
* @since 1.8.0
- * @deprecated Use {@link Throwable#initCause(Throwable)}.
* @see Throwable#initCause(Throwable)
+ * @deprecated Use {@link Throwable#initCause(Throwable)}.
*/
@Deprecated
public boolean initCause(final Throwable throwable, final Throwable cause)
{
diff --git
a/src/main/java/org/apache/commons/beanutils/locale/LocaleBeanUtils.java
b/src/main/java/org/apache/commons/beanutils/locale/LocaleBeanUtils.java
index 860bce97..b5056483 100644
--- a/src/main/java/org/apache/commons/beanutils/locale/LocaleBeanUtils.java
+++ b/src/main/java/org/apache/commons/beanutils/locale/LocaleBeanUtils.java
@@ -155,7 +155,6 @@ public class LocaleBeanUtils extends BeanUtils {
/**
* Resolve any nested expression to get the actual target bean.
*
- * @deprecated moved into {@code LocaleBeanUtilsBean}
* @param bean The bean
* @param name The property name
* @return The property's descriptor
@@ -163,6 +162,7 @@ public class LocaleBeanUtils extends BeanUtils {
* access to the property accessor method
* @throws InvocationTargetException if the property accessor method
* throws an exception
+ * @deprecated moved into {@code LocaleBeanUtilsBean}
*/
@Deprecated
protected static Descriptor calculate(final Object bean, final String name)