This is an automated email from the ASF dual-hosted git repository.
amoghj pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iceberg.git
The following commit(s) were added to refs/heads/main by this push:
new 229d8f6fcd Common: Update the version in deprecation messages (#10715)
229d8f6fcd is described below
commit 229d8f6fcd109e6c8943ea7cbb41dab746c6d0ed
Author: Piotr Findeisen <[email protected]>
AuthorDate: Thu Jul 18 02:35:21 2024 +0200
Common: Update the version in deprecation messages (#10715)
---
common/src/main/java/org/apache/iceberg/common/DynFields.java | 2 +-
common/src/main/java/org/apache/iceberg/common/DynMethods.java | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/common/src/main/java/org/apache/iceberg/common/DynFields.java
b/common/src/main/java/org/apache/iceberg/common/DynFields.java
index 1b982d206f..e88affa0cb 100644
--- a/common/src/main/java/org/apache/iceberg/common/DynFields.java
+++ b/common/src/main/java/org/apache/iceberg/common/DynFields.java
@@ -394,7 +394,7 @@ public class DynFields {
* @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
{
diff --git a/common/src/main/java/org/apache/iceberg/common/DynMethods.java
b/common/src/main/java/org/apache/iceberg/common/DynMethods.java
index eaaad876f1..fc0e578c7d 100644
--- a/common/src/main/java/org/apache/iceberg/common/DynMethods.java
+++ b/common/src/main/java/org/apache/iceberg/common/DynMethods.java
@@ -51,7 +51,7 @@ public class DynMethods {
(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
{
@@ -315,7 +315,7 @@ public class DynMethods {
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
@@ -331,7 +331,7 @@ public class DynMethods {
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