]> source.dussan.org Git - jgit.git/commit
Deprecate FileUtil and move the code to FileUtils 92/55592/4
authorAndrey Loskutov <loskutov@gmx.de>
Wed, 9 Sep 2015 21:13:34 +0000 (23:13 +0200)
committerMatthias Sohn <matthias.sohn@sap.com>
Sun, 27 Sep 2015 01:14:06 +0000 (03:14 +0200)
commitd35245e906c0a1dcbd50173150ea1eb0697ce71c
tree102ec5ae5db8029c219df441880eca0614db824d
parent41a972cd1efe22ba65b4dfdd2fcaad8af18a522c
Deprecate FileUtil and move the code to FileUtils

As discussed on https://git.eclipse.org/r/53836 it does not make sense
to have two similar utility classes in same package with intersecting
functionality. To not break the API, all methods from FileUtil are
copied to FileUtils, all FileUtil API is made deprecated and redirecting
now to FileUtils. Moved simple methods which are available in Java 7 API
are made package private and can be removed at any point later entirely
(right now they are in use).

Bug: 475070
Change-Id: Idffcf9840496c448173af7c052d8898ada68e27b
Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.jgit/src/org/eclipse/jgit/util/FS_POSIX.java
org.eclipse.jgit/src/org/eclipse/jgit/util/FS_Win32.java
org.eclipse.jgit/src/org/eclipse/jgit/util/FS_Win32_Cygwin.java
org.eclipse.jgit/src/org/eclipse/jgit/util/FileUtil.java
org.eclipse.jgit/src/org/eclipse/jgit/util/FileUtils.java