DanGuge commented on code in PR #2262:
URL: 
https://github.com/apache/incubator-hugegraph/pull/2262#discussion_r1292234817


##########
hugegraph-api/src/main/java/org/apache/hugegraph/config/ServerOptions.java:
##########
@@ -256,12 +218,24 @@ public static synchronized ServerOptions instance() {
                     null,
                     "hugegraph"
             );
-
     public static final ConfigOption<Boolean> ENABLE_DYNAMIC_CREATE_DROP =
             new ConfigOption<>(
                     "graphs.enable_dynamic_create_drop",
                     "Whether to enable create or drop graph dynamically.",
                     disallowEmpty(),
                     true
             );
+    private static volatile ServerOptions instance;
+
+    private ServerOptions() {
+        super();
+    }
+
+    public static synchronized ServerOptions instance() {
+        if (instance == null) {
+            instance = new ServerOptions();
+            instance.registerOptions();
+        }
+        return instance;
+    }

Review Comment:
   fixed



##########
hugegraph-core/src/main/java/org/apache/hugegraph/traversal/algorithm/records/SingleWayMultiPathsRecords.java:
##########
@@ -44,7 +45,7 @@ public abstract class SingleWayMultiPathsRecords extends 
AbstractRecords {
     private final int sourceCode;
     private final boolean nearest;
     private final IntSet accessedVertices;
-
+    private final HugeTraverser.EdgeRecord edgeRecord;

Review Comment:
   fixed



##########
hugegraph-core/src/main/java/org/apache/hugegraph/traversal/algorithm/records/SingleWayMultiPathsRecords.java:
##########
@@ -176,6 +178,10 @@ protected final Stack<Record> records() {
         return this.records;
     }
 
+    public HugeTraverser.EdgeRecord getEdgeIdRecord() {

Review Comment:
   fixed



-- 
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