From f6911065471f7bb312e4863d701431813d6fdbdb Mon Sep 17 00:00:00 2001 From: Matthias Sohn Date: Sat, 25 Apr 2015 01:08:42 +0200 Subject: [PATCH] Delete deprecated FileUtils.setExecute(File, boolean) Change-Id: Ifa63e3743fb4de25e074404c301f860a1ffb5e02 Signed-off-by: Matthias Sohn --- .../src/org/eclipse/jgit/util/FileUtil.java | 14 -------------- 1 file changed, 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 bd38b14e3..f5babedd0 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/util/FileUtil.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/util/FileUtil.java @@ -212,20 +212,6 @@ public class FileUtil { return path.canExecute(); } - /** - * @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