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

Jean-Noel Rouvignac
08.06.2015 b8c6b80da1cb6118167a934daa480eb381c59e0e
opendj-server-legacy/src/test/java/org/opends/quicksetup/util/FileManagerTest.java
@@ -568,7 +568,10 @@
  }
  private void writeContents(File f, String content) throws IOException {
    if (!f.exists()) f.createNewFile();
    if (!f.exists())
    {
      f.createNewFile();
    }
    FileWriter fw = new FileWriter(f);
    fw.write(content);
    fw.flush();