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

 ##########
 File path: iotdb/src/main/java/org/apache/iotdb/db/metadata/MTree.java
 ##########
 @@ -247,7 +244,7 @@ public String deletePath(String path) throws 
PathErrorException {
     for (int i = 1; i < nodes.length; i++) {
       if (!cur.hasChild(nodes[i])) {
         throw new PathErrorException(
-            "Timeseries is not correct. Node[" + cur.getName() + "] doesn't 
have child named:"
+                PRE_ERROR_STRING + cur.getName() + AFTER_ERROR_STRING
 
 Review comment:
   Not concatenate the string,  replace it with `Timeseries is not correct. 
Node: %s XXXX`.

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