mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Matthew Swift
29.25.2016 5984af9f0c6c5f852bc3292d981e0854f44ae802
opendj-server-legacy/src/main/java/org/opends/server/tools/upgrade/FileManager.java
@@ -81,7 +81,7 @@
  }
  /**
   * Copies everything below the specified file.
   * Recursively copies everything below the specified file/directory.
   *
   * @param objectFile
   *          the file to be copied.
@@ -89,16 +89,12 @@
   *          the directory to copy the file to
   * @param overwrite
   *          overwrite destination files.
   * @return File representing the destination
   * @throws IOException
   *           if something goes wrong.
   */
  public static File copy(File objectFile, File destDir, boolean overwrite)
      throws IOException
  public static void copyRecursively(File objectFile, File destDir, boolean overwrite) throws IOException
  {
    CopyOperation co = new CopyOperation(objectFile, destDir, overwrite);
    co.apply();
    return co.getDestination();
    operateRecursively(new CopyOperation(objectFile, destDir, overwrite), null);
  }
  private static void operateRecursively(FileOperation op, FileFilter filter)