Delete deprecated FileUtils.setExecute(File, boolean)
Change-Id: Ifa63e3743fb4de25e074404c301f860a1ffb5e02 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
This commit is contained in:
parent
ba51037a69
commit
f691106547
|
@ -212,20 +212,6 @@ public static boolean canExecute(File path) {
|
|||
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
|
||||
|
|
Loading…
Reference in New Issue