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

 ##########
 File path: iotdb/src/main/java/org/apache/iotdb/db/metadata/MManager.java
 ##########
 @@ -640,8 +640,8 @@ public boolean checkFileNameByPath(String path) {
 
     lock.readLock().lock();
     try {
-      HashMap<String, ArrayList<String>> res = 
getAllPathGroupByFileName(ROOT_NAME);
-      List<String> fileNameList = new ArrayList<String>();
+      HashMap<String, ArrayList<String>> res =  
getAllPathGroupByFileName(ROOT_NAME);
 
 Review comment:
   the format: why add a space?

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