mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Typo :(
This commit is contained in:
@@ -1079,7 +1079,7 @@ public class FileUtil {
|
||||
*/
|
||||
public static void setExecutableAttribute(@NotNull String path, boolean executableFlag) throws IOException {
|
||||
final File file = new File(path);
|
||||
if (!file.setExecutable(!executableFlag) && file.canExecute() != executableFlag) {
|
||||
if (!file.setExecutable(executableFlag) && file.canExecute() != executableFlag) {
|
||||
LOG.warn("Can't set executable attribute of '" + path + "' to " + executableFlag);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user