Skip to content

Commit 229d8f6

Browse files
authored
Common: Update the version in deprecation messages (#10715)
1 parent 3c46178 commit 229d8f6

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

common/src/main/java/org/apache/iceberg/common/DynFields.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ public <T> BoundField<T> build(Object target) {
394394
* @return a {@link StaticField} with a valid implementation
395395
* @throws IllegalStateException if the method is not static
396396
* @throws NoSuchFieldException if no implementation was found
397-
* @deprecated since 1.7.0, will be removed in 2.0.0
397+
* @deprecated since 1.6.0, will be removed in 1.7.0
398398
*/
399399
@Deprecated
400400
public <T> StaticField<T> buildStaticChecked() throws NoSuchFieldException {

common/src/main/java/org/apache/iceberg/common/DynMethods.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public static class UnboundMethod {
5151
(method == null || method.isVarArgs()) ? -1 : method.getParameterTypes().length;
5252
}
5353

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

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

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

0 commit comments

Comments
 (0)