Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Sohn2015-04-24 19:08:42 -0400
committerMatthias Sohn2015-06-03 07:16:27 -0400
commitf6911065471f7bb312e4863d701431813d6fdbdb (patch)
treeb5926b2bf470d133e5390e640ef37c12937d219b
parentba51037a69166bac615600c5c4950b9e80f2e827 (diff)
downloadjgit-f6911065471f7bb312e4863d701431813d6fdbdb.tar.gz
jgit-f6911065471f7bb312e4863d701431813d6fdbdb.tar.xz
jgit-f6911065471f7bb312e4863d701431813d6fdbdb.zip
Delete deprecated FileUtils.setExecute(File, boolean)
Change-Id: Ifa63e3743fb4de25e074404c301f860a1ffb5e02 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/util/FileUtil.java14
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 {

Back to the top