From c1d53cdd3a596922c895d2918f0f32db0816f323 Mon Sep 17 00:00:00 2001 From: MBWhite Date: Thu, 20 Jun 2024 14:49:50 +0100 Subject: [PATCH] fix: mark functions as deprecated By marking the function as @Deprecated means that users will know the method is deprecated and not get warnings specifically about their code. An implementation will still be required though. Signed-off-by: MBWhite --- core/src/main/java/io/substrait/type/TypeVisitor.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/src/main/java/io/substrait/type/TypeVisitor.java b/core/src/main/java/io/substrait/type/TypeVisitor.java index 12316852d..9d377499c 100644 --- a/core/src/main/java/io/substrait/type/TypeVisitor.java +++ b/core/src/main/java/io/substrait/type/TypeVisitor.java @@ -23,8 +23,10 @@ public interface TypeVisitor { R visit(Type.Time type) throws E; + @Deprecated R visit(Type.TimestampTZ type) throws E; + @Deprecated R visit(Type.Timestamp type) throws E; R visit(Type.PrecisionTimestamp type) throws E;