Skip to content

Commit

Permalink
Common: Update the version in deprecation messages (#10715)
Browse files Browse the repository at this point in the history
  • Loading branch information
findepi authored Jul 18, 2024
1 parent 3c46178 commit 229d8f6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ public <T> BoundField<T> build(Object target) {
* @return a {@link StaticField} with a valid implementation
* @throws IllegalStateException if the method is not static
* @throws NoSuchFieldException if no implementation was found
* @deprecated since 1.7.0, will be removed in 2.0.0
* @deprecated since 1.6.0, will be removed in 1.7.0
*/
@Deprecated
public <T> StaticField<T> buildStaticChecked() throws NoSuchFieldException {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public static class UnboundMethod {
(method == null || method.isVarArgs()) ? -1 : method.getParameterTypes().length;
}

/** @deprecated since 1.7.0, will be removed in 2.0.0 */
/** @deprecated since 1.6.0, will be removed in 1.7.0 */
@Deprecated // will become private
@SuppressWarnings("unchecked")
public <R> R invokeChecked(Object target, Object... args) throws Exception {
Expand Down Expand Up @@ -315,7 +315,7 @@ public Builder impl(Class<?> targetClass, Class<?>... argClasses) {
return this;
}

/** @deprecated since 1.7.0, will be removed in 2.0.0 */
/** @deprecated since 1.6.0, will be removed in 1.7.0 */
@Deprecated
public Builder ctorImpl(Class<?> targetClass, Class<?>... argClasses) {
// don't do any work if an implementation has been found
Expand All @@ -331,7 +331,7 @@ public Builder ctorImpl(Class<?> targetClass, Class<?>... argClasses) {
return this;
}

/** @deprecated since 1.7.0, will be removed in 2.0.0 */
/** @deprecated since 1.6.0, will be removed in 1.7.0 */
@Deprecated
public Builder ctorImpl(String className, Class<?>... argClasses) {
// don't do any work if an implementation has been found
Expand Down

0 comments on commit 229d8f6

Please sign in to comment.