]> source.dussan.org Git - jgit.git/commitdiff
Delete deprecated FileUtils.setExecute(File, boolean) 38/49338/1
authorMatthias Sohn <matthias.sohn@sap.com>
Fri, 24 Apr 2015 23:08:42 +0000 (01:08 +0200)
committerMatthias Sohn <matthias.sohn@sap.com>
Wed, 3 Jun 2015 11:16:27 +0000 (13:16 +0200)
Change-Id: Ifa63e3743fb4de25e074404c301f860a1ffb5e02
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.jgit/src/org/eclipse/jgit/util/FileUtil.java

index bd38b14e3522198474b6e997598b6972129fdbff..f5babedd06f2e515e6e1d4613eccf26fa38b0ebb 100644 (file)
@@ -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