diff options
author | Noel Grandin <noel@peralex.com> | 2014-08-13 10:08:31 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-08-13 10:24:10 +0200 |
commit | 34bcf9b498bccb5c924f4cec850ff15d88df6f07 (patch) | |
tree | 4d9604ec8c3b73639338ec45a0618b5daa5cf0ed /qadevOOo/runner/helper/FileTools.java | |
parent | 347926e8e57c1825261daa46c1886aa2ebf9571b (diff) |
java: remove dead methods
found by UCDetector
Change-Id: I219caa8e680dba5a395541a778df6144841c4dde
Diffstat (limited to 'qadevOOo/runner/helper/FileTools.java')
-rw-r--r-- | qadevOOo/runner/helper/FileTools.java | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/qadevOOo/runner/helper/FileTools.java b/qadevOOo/runner/helper/FileTools.java index 8a859183ebf6..cede7c46059d 100644 --- a/qadevOOo/runner/helper/FileTools.java +++ b/qadevOOo/runner/helper/FileTools.java @@ -92,19 +92,7 @@ public class FileTools { in.close(); out.close(); } - /** - * Deletes all files and subdirectories under dir and the directory itself. - * Returns true if all deletions were successful. - * If the deletion fails, the method the method continues to delete rest - * of the files and returns false. - * @return Returns true if all deletions were successful, else false. - * @param dir the directory to delete - */ - public static boolean deleteDir(File dir) { - // The directory is now empty so delete it - return cleanDir(dir); - } public static boolean cleanDir(File dir) { |