ctubbsii commented on a change in pull request #1551: Use sets instead of 
arrays for volumes
URL: https://github.com/apache/accumulo/pull/1551#discussion_r389021623
 
 

 ##########
 File path: 
server/master/src/main/java/org/apache/accumulo/master/tableOps/tableImport/CreateImportDir.java
 ##########
 @@ -47,10 +47,9 @@
     UniqueNameAllocator namer = master.getContext().getUniqueNameAllocator();
 
     Path exportDir = new Path(tableInfo.exportDir);
-    String[] tableDirs = ServerConstants.getTablesDirs(master.getContext());
+    Set<String> tableDirs = ServerConstants.getTablesDirs(master.getContext());
 
-    log.info("Looking for matching filesystem for " + exportDir + " from 
options "
-        + Arrays.toString(tableDirs));
+    log.info("Looking for matching filesystem for " + exportDir + " from 
options " + tableDirs);
 
 Review comment:
   This was preexisting, but good to change while we're in there.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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