From b23a87c6578100e5bb8700fba1fe7a241a9ababd Mon Sep 17 00:00:00 2001 From: Hou Zhizhen Date: Mon, 26 Apr 2021 15:47:34 +0800 Subject: [PATCH] tiny improve --- src/main/java/com/baidu/hugegraph/config/HugeConfig.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/baidu/hugegraph/config/HugeConfig.java b/src/main/java/com/baidu/hugegraph/config/HugeConfig.java index bda79aec..efa3e721 100644 --- a/src/main/java/com/baidu/hugegraph/config/HugeConfig.java +++ b/src/main/java/com/baidu/hugegraph/config/HugeConfig.java @@ -61,8 +61,8 @@ public HugeConfig(String configFile) { private void reloadIfNeed(Configuration conf) { if (!(conf instanceof AbstractFileConfiguration)) { if (conf instanceof AbstractConfiguration) { - ((AbstractConfiguration) conf).setDelimiterParsingDisabled( - true); + AbstractConfiguration astConf = (AbstractConfiguration) conf; + astConf.setDelimiterParsingDisabled(true); } return; }