You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hugegraph.apache.org by GitBox <gi...@apache.org> on 2022/05/05 04:23:12 UTC
[GitHub] [incubator-hugegraph] javeme commented on a diff in pull request #1858: fix other module checkstyle issue
javeme commented on code in PR #1858:
URL: https://github.com/apache/incubator-hugegraph/pull/1858#discussion_r865545000
##########
hugegraph-dist/src/main/java/com/baidu/hugegraph/cmd/InitStore.java:
##########
@@ -47,15 +47,15 @@ public class InitStore {
// Less than 5000 may cause mismatch exception with Cassandra backend
private static final long RETRY_INTERVAL = 5000;
- private static final MultiValueMap exceptions = new MultiValueMap();
+ private static final MultiValueMap EXCEPTION = new MultiValueMap();
Review Comment:
can keep "EXCEPTIONS" name
##########
hugegraph-dist/src/main/java/com/baidu/hugegraph/cmd/StoreDumper.java:
##########
@@ -51,10 +56,10 @@ public void dump(HugeType table, long offset, long limit) {
}
String title = String.format("Dump table %s (offset %d limit %d):",
table, offset, limit);
- System.out.println(title);
+ LOG.info("title : {}",title);
Review Comment:
merge into line 57
##########
hugegraph-dist/src/main/java/com/baidu/hugegraph/cmd/StoreDumper.java:
##########
@@ -51,10 +56,10 @@ public void dump(HugeType table, long offset, long limit) {
}
String title = String.format("Dump table %s (offset %d limit %d):",
table, offset, limit);
- System.out.println(title);
+ LOG.info("title : {}",title);
for (long i = 0; i < limit && rs.hasNext(); i++) {
BackendEntry entry = rs.next();
- System.out.println(entry);
+ LOG.info("entry : {}",entry);
Review Comment:
`LOG.info("{}" entry)` is ok
--
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: dev-unsubscribe@hugegraph.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org