jt2594838 commented on a change in pull request #25: Fix sonar
URL: https://github.com/apache/incubator-iotdb/pull/25#discussion_r250493871
##########
File path:
iotdb-cli/src/main/java/org/apache/iotdb/cli/client/AbstractClient.java
##########
@@ -424,7 +422,7 @@ protected static void printName(boolean printTimestamp,
int colCount,
System.out.printf(formatValue, resultSetMetaData.getColumnLabel(i));
}
}
- System.out.printf("\n");
+ System.out.printf("%n");
Review comment:
'\n' does not mean a line separator in all OSs, while Java interprets '%n'
as a proper line separator.
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services