diff --git a/hugegraph-hubble/hubble-be/src/main/java/org/apache/hugegraph/HugeGraphHubble.java b/hugegraph-hubble/hubble-be/src/main/java/org/apache/hugegraph/HugeGraphHubble.java index b4587d4c0..e5057b962 100644 --- a/hugegraph-hubble/hubble-be/src/main/java/org/apache/hugegraph/HugeGraphHubble.java +++ b/hugegraph-hubble/hubble-be/src/main/java/org/apache/hugegraph/HugeGraphHubble.java @@ -42,10 +42,11 @@ public static void main(String[] args) { public static void initEnv() { System.setProperty("file.encoding", "UTF-8"); - Ex.check(Charset.defaultCharset().equals(StandardCharsets.UTF_8),"Charset must be UTF-8, current:"+Charset.defaultCharset()); + Ex.check(Charset.defaultCharset().equals(StandardCharsets.UTF_8), + "Charset must be UTF-8, current:" + Charset.defaultCharset()); String hubbleHomePath = System.getProperty("hubble.home.path"); Ex.check(StringUtils.isNotEmpty(hubbleHomePath), - "The system property 'hubble.home.path' must be set"); + "The system property 'hubble.home.path' must be set"); String loaderHomePath = System.getProperty("loader.home.path"); if (StringUtils.isEmpty(loaderHomePath)) { System.setProperty("loader.home.path", hubbleHomePath);