ctubbsii commented on a change in pull request #1579: Closes #1576: Update 
importTable with directory list as Set<String>
URL: https://github.com/apache/accumulo/pull/1579#discussion_r404952511
 
 

 ##########
 File path: test/src/main/java/org/apache/accumulo/test/NamespacesIT.java
 ##########
 @@ -980,8 +980,8 @@ public void verifyTableOperationsExceptions() throws 
Exception {
         () -> ops.clone("a", tableName, true, Collections.emptyMap(), 
Collections.emptySet()));
     ops.offline("a", true);
     ops.exportTable("a", System.getProperty("user.dir") + "/target");
-    assertAccumuloExceptionNoNamespace(
-        () -> ops.importTable(tableName, System.getProperty("user.dir") + 
"/target"));
+    assertAccumuloExceptionNoNamespace(() -> ops.importTable(tableName,
+        Collections.singleton(System.getProperty("user.dir") + "/target")));
 
 Review comment:
   `Set.of(X)` is shorter than `Collections.singleton(X)`.

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