diff options
Diffstat (limited to 'org.eclipse.jgit/src/org/eclipse/jgit/util/FileUtil.java')
-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 { |