diff options
author | Matthias Sohn <matthias.sohn@sap.com> | 2015-04-25 01:08:42 +0200 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2015-06-03 13:16:27 +0200 |
commit | f6911065471f7bb312e4863d701431813d6fdbdb (patch) | |
tree | b5926b2bf470d133e5390e640ef37c12937d219b /org.eclipse.jgit/src/org/eclipse/jgit/util | |
parent | ba51037a69166bac615600c5c4950b9e80f2e827 (diff) | |
download | jgit-f6911065471f7bb312e4863d701431813d6fdbdb.tar.gz jgit-f6911065471f7bb312e4863d701431813d6fdbdb.zip |
Delete deprecated FileUtils.setExecute(File, boolean)
Change-Id: Ifa63e3743fb4de25e074404c301f860a1ffb5e02
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'org.eclipse.jgit/src/org/eclipse/jgit/util')
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/util/FileUtil.java | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/util/FileUtil.java b/org.eclipse.jgit/src/org/eclipse/jgit/util/FileUtil.java index bd38b14e35..f5babedd06 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/util/FileUtil.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/util/FileUtil.java @@ -214,20 +214,6 @@ public class FileUtil { /** * @param path - * @param executable - * @return true if succeeded, false if not supported or failed - * @deprecated the implementation is highly platform dependent, consider - * using {@link FS#setExecute(File, boolean)} instead - */ - @Deprecated - public static boolean setExecute(File path, boolean executable) { - if (!isFile(path)) - return false; - return path.setExecutable(executable); - } - - /** - * @param path * @throws IOException */ public static void delete(File path) throws IOException { |