EJTTianYu commented on a change in pull request #35: Fix sonar tianyu
URL: https://github.com/apache/incubator-iotdb/pull/35#discussion_r253249086
 
 

 ##########
 File path: iotdb/src/main/java/org/apache/iotdb/db/metadata/MTree.java
 ##########
 @@ -937,13 +935,13 @@ private String mnodeToString(MNode node, int tab) {
     } else if (node.isLeaf()) {
       builder.append(":{\n");
       builder
-          .append(String.format("%s DataType: %s,\n", getTabs(tab + 1), 
node.getSchema().dataType));
+          .append(String.format("%s DATA_TYPE: %s,%n", getTabs(tab + 1), 
node.getSchema().dataType));
 
 Review comment:
   using %n to replace \n is for cross-platform

----------------------------------------------------------------
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

Reply via email to