You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hugegraph.apache.org by GitBox <gi...@apache.org> on 2022/09/29 03:46:31 UTC

[GitHub] [incubator-hugegraph-toolchain] simon824 commented on a diff in pull request #331: fix checkstyle and enable checkstyle plugin

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


##########
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:
   LineLength longer than 100 here 



-- 
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: commits-unsubscribe@hugegraph.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org