Skip to content

Commit c0a50b0

Browse files
committed
Javadoc: The @deprecated tag should be last.
1 parent 4f5d454 commit c0a50b0

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/main/java/org/apache/commons/beanutils/BeanUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,8 +378,8 @@ public static String getSimpleProperty(final Object bean, final String name)
378378
* @param cause The cause of the throwable.
379379
* @return always true in 1.10.0.
380380
* @since 1.8.0
381-
* @deprecated Use {@link Throwable#initCause(Throwable)}.
382381
* @see Throwable#initCause(Throwable)
382+
* @deprecated Use {@link Throwable#initCause(Throwable)}.
383383
*/
384384
@Deprecated
385385
public static boolean initCause(final Throwable throwable, final Throwable cause) {

src/main/java/org/apache/commons/beanutils/BeanUtilsBean.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -764,8 +764,8 @@ public String getSimpleProperty(final Object bean, final String name) throws Ill
764764
* @param cause The cause of the throwable.
765765
* @return always true in 1.10.0.
766766
* @since 1.8.0
767-
* @deprecated Use {@link Throwable#initCause(Throwable)}.
768767
* @see Throwable#initCause(Throwable)
768+
* @deprecated Use {@link Throwable#initCause(Throwable)}.
769769
*/
770770
@Deprecated
771771
public boolean initCause(final Throwable throwable, final Throwable cause) {

src/main/java/org/apache/commons/beanutils/locale/LocaleBeanUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,14 +155,14 @@ public void setTarget(final Object target) {
155155
/**
156156
* Resolve any nested expression to get the actual target bean.
157157
*
158-
* @deprecated moved into {@code LocaleBeanUtilsBean}
159158
* @param bean The bean
160159
* @param name The property name
161160
* @return The property's descriptor
162161
* @throws IllegalAccessException if the caller does not have
163162
* access to the property accessor method
164163
* @throws InvocationTargetException if the property accessor method
165164
* throws an exception
165+
* @deprecated moved into {@code LocaleBeanUtilsBean}
166166
*/
167167
@Deprecated
168168
protected static Descriptor calculate(final Object bean, final String name)

0 commit comments

Comments
 (0)