imbajin commented on code in PR #331:
URL: 
https://github.com/apache/incubator-hugegraph-toolchain/pull/331#discussion_r990630149


##########
hugegraph-client/src/main/java/com/baidu/hugegraph/example/MovieExample.java:
##########
@@ -56,14 +56,22 @@ public static void main(String[] args) {
 
         GraphManager graph = hugeClient.graph();
 
-        Vertex theMatrix = graph.addVertex(T.label, "movie", "title", "The 
Matrix", "released", 1999);
-        Vertex keanu = graph.addVertex(T.label, "person", "name", "keanu 
Reeves", "born", 1964);
-        Vertex carrie = graph.addVertex(T.label, "person", "name", 
"carrie-anne Moss", "born", 1967);
-        Vertex laurence = graph.addVertex(T.label, "person", "name", "laurence 
Fishburne", "born", 1961);
-        Vertex hugo = graph.addVertex(T.label, "person", "name", "hugo 
Weaving", "born", 1960);
-        Vertex lillyW = graph.addVertex(T.label, "person", "name", "Lilly 
Wachowski", "born", 1967);
-        Vertex lanaW = graph.addVertex(T.label, "person", "name", "Lana 
Wachowski", "born", 1965);
-        Vertex joelS = graph.addVertex(T.label, "person", "name", "Joel 
Silver", "born", 1952);
+        Vertex theMatrix = graph.addVertex(T.LABEL,
+                                           "movie", "title", "The Matrix", 
"released", 1999);
+        Vertex keanu = graph.addVertex(T.LABEL,
+                                       "person", "name", "keanu Reeves", 
"born", 1964);
+        Vertex carrie = graph.addVertex(T.LABEL,
+                                        "person", "name", "carrie-anne Moss", 
"born", 1967);
+        Vertex laurence = graph.addVertex(T.LABEL,
+                                          "person", "name", "laurence 
Fishburne", "born", 1961);
+        Vertex hugo = graph.addVertex(T.LABEL,
+                                      "person", "name", "hugo Weaving", 
"born", 1960);
+        Vertex lillyW = graph.addVertex(T.LABEL,
+                                        "person", "name", "Lilly Wachowski", 
"born", 1967);
+        Vertex lanaW = graph.addVertex(T.LABEL,
+                                       "person", "name", "Lana Wachowski", 
"born", 1965);
+        Vertex joelS = graph.addVertex(T.LABEL,
+                                       "person", "name", "Joel Silver", 
"born", 1952);

Review Comment:
   OK, keep them



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

Reply via email to