-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix checkstyle and enable checkstyle plugin #331
Conversation
Codecov Report
@@ Coverage Diff @@
## master #331 +/- ##
============================================
- Coverage 72.72% 72.71% -0.02%
Complexity 1849 1849
============================================
Files 242 242
Lines 8104 8106 +2
Branches 717 717
============================================
Hits 5894 5894
- Misses 1827 1829 +2
Partials 383 383
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we need this feature, it may bring a lot of convenience
hugegraph-tools/src/main/java/com/baidu/hugegraph/cmd/SubCommands.java
Outdated
Show resolved
Hide resolved
hugegraph-tools/src/main/java/com/baidu/hugegraph/formatter/kgdumper/DumpKGFormatter.java
Show resolved
Hide resolved
hugegraph-tools/src/main/java/com/baidu/hugegraph/cmd/SubCommands.java
Outdated
Show resolved
Hide resolved
hugegraph-tools/src/main/java/com/baidu/hugegraph/formatter/kgdumper/SignFS64.java
Outdated
Show resolved
Hide resolved
@@ -2,86 +2,216 @@ | |||
<!DOCTYPE module PUBLIC |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file copy from https://github.com/apache/incubator-hugegraph/blob/master/style/checkstyle.xml , to keep consistent with hg server
hi @imbajin, please take a look at this pr when free ,thanks. |
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); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
seems no need to wrap new line in 59~74
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LineLength longer than 100 here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, keep them
Vertex theMatrixReloaded = graph.addVertex(T.LABEL, | ||
"movie", "title", | ||
"The Matrix Reloaded", "released", 2003); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it a rule? Seems a little strange?
public static final String ID = "id"; | ||
public static final String LABEL = "label"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why change this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe to adapt code style for the const var
closed #330