You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by GitBox <gi...@apache.org> on 2019/02/11 07:37:33 UTC
[GitHub] jixuan1989 commented on a change in pull request #38: Fix sonar by
Yanzhe An
jixuan1989 commented on a change in pull request #38: Fix sonar by Yanzhe An
URL: https://github.com/apache/incubator-iotdb/pull/38#discussion_r255398315
##########
File path: iotdb-cli/src/main/java/org/apache/iotdb/cli/tool/ExportCsv.java
##########
@@ -77,14 +81,14 @@ public static void main(String[] args) throws IOException, SQLException {
CommandLineParser parser = new DefaultParser();
if (args == null || args.length == 0) {
- System.out.println("[ERROR] Too few params input, please check the following hint.");
+ LOGGER.error("[ERROR] Too few params input, please check the following hint.");
Review comment:
If you use Logger.error, there is no need to print "[ERROR]" in your message.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services