new-integration-tests/src/test/java/oracle/weblogic/kubernetes/utils/FileUtils.java
public static void cleanupDirectory(String dir) throws IOException {
    File file = new File(dir);
    getLogger().info("Cleaning up directory {0}.", dir);
    if (!file.exists()) {
      // nothing to do
      return;
    }

    cleanDirectory(file);

  }
/**
   * Remove the contents of the given directory.
   *
   * @param dir the directory to be cleaned up
   * @throws IOException if the operation fails
   */
Remove the contents of the given directory.
@param dir the directory to be cleaned up
@throws IOException if the operation fails
Remove the contents of the given directory . @param dir the directory to be cleaned up @throws IOException if the operation fails
public static void cleanupDirectory(String dir) throws IOException {
    File file = new File(dir);
    getLogger().info("Cleaning up directory {0}.", dir);
    if (!file.exists()) {
      return;
    }
    cleanDirectory(file);
  }
public static void cleanupDirectory ( String dir ) throws IOException { File file = new File ( dir ) ; getLogger ( ) . info ( "Cleaning up directory {0}." , dir ) ; if ( ! file . exists ( ) ) { return ; } cleanDirectory ( file ) ; }
Remove the contents of the given directory.
Remove the contents of the given directory .
// nothing to do