xxubai commented on code in PR #4278:
URL: https://github.com/apache/amoro/pull/4278#discussion_r3637882072


##########
amoro-format-iceberg/src/main/java/org/apache/amoro/utils/TableFileUtil.java:
##########
@@ -75,15 +76,24 @@ public static String getFileDir(String filePath) {
     return filePath.substring(0, lastSlash);
   }
 
+  public static void deleteEmptyDirectory(
+      AuthenticatedFileIO io, String directoryPath, Set<String> exclude) {
+    deleteEmptyDirectory(io, directoryPath, exclude, new HashSet<>());
+  }
+
   /**
    * Try to recursiveDelete the empty directory
    *
    * @param io mixed-format file io
    * @param directoryPath directory location
-   * @param exclude the directory will not be deleted
+   * @param exclude the directory will not be deleted @Param 
directoriesToBeDeleted: all the

Review Comment:
   ```suggestion
      * @param exclude the directory will not be deleted 
      * @Param directoriesToBeDeleted: all the
   ```



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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to