Thespica commented on code in PR #683:
URL: 
https://github.com/apache/incubator-hugegraph-toolchain/pull/683#discussion_r2443292251


##########
hugegraph-loader/src/main/java/org/apache/hugegraph/loader/HugeGraphLoader.java:
##########
@@ -97,10 +155,51 @@ public LoadContext context() {
         return this.context;
     }
 
+    private void checkGraphExists() {
+        HugeClient client = this.context.indirectClient();
+        String targetGraph = this.options.graph;
+        if (this.options.createGraph) {

Review Comment:
   two if statements can be merged.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to