From fa23b66b2d883767956dabd526b9e2d38796fc9d Mon Sep 17 00:00:00 2001 From: Hongxin Liang Date: Sat, 14 Oct 2023 21:54:23 +0200 Subject: [PATCH] Clean up Signed-off-by: Hongxin Liang --- .../src/main/java/org/flyte/flytekit/SdkLiteralTypes.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/flytekit-java/src/main/java/org/flyte/flytekit/SdkLiteralTypes.java b/flytekit-java/src/main/java/org/flyte/flytekit/SdkLiteralTypes.java index 6587399d2..af1b77292 100644 --- a/flytekit-java/src/main/java/org/flyte/flytekit/SdkLiteralTypes.java +++ b/flytekit-java/src/main/java/org/flyte/flytekit/SdkLiteralTypes.java @@ -75,8 +75,6 @@ public static SdkLiteralType of(Class clazz) { return (SdkLiteralType) datetimes(); } else if (clazz.equals(Duration.class)) { return (SdkLiteralType) durations(); - } else if (clazz.equals(BlobType.class)) { - return null; } throw new IllegalArgumentException("Unsupported type: " + clazz); }