From 3d9ff836396f70798a4d29c1c894e10d05ebacb0 Mon Sep 17 00:00:00 2001 From: GnsP Date: Mon, 17 Apr 2023 06:42:05 +0000 Subject: [PATCH] Fix the null identifier issue in MigrateToV2 --- .../src/main/java/io/cdap/wrangler/parser/MigrateToV2.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wrangler-core/src/main/java/io/cdap/wrangler/parser/MigrateToV2.java b/wrangler-core/src/main/java/io/cdap/wrangler/parser/MigrateToV2.java index 1fcf030c5..c33103098 100644 --- a/wrangler-core/src/main/java/io/cdap/wrangler/parser/MigrateToV2.java +++ b/wrangler-core/src/main/java/io/cdap/wrangler/parser/MigrateToV2.java @@ -814,7 +814,7 @@ public static String getNextToken(StringTokenizer tokenizer, String delimiter, public static String getNextToken(StringTokenizer tokenizer, String delimiter, String directive, String field, int lineno, boolean optional) throws DirectiveParseException { - String value = null; + String value = ""; if (tokenizer.hasMoreTokens()) { if (delimiter == null) { value = tokenizer.nextToken().trim();