diff options
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/unix/UnixFileSystem.java')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/unix/UnixFileSystem.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/unix/UnixFileSystem.java b/src/main/java/com/google/devtools/build/lib/unix/UnixFileSystem.java index cfd07b336c..7b82dcc06a 100644 --- a/src/main/java/com/google/devtools/build/lib/unix/UnixFileSystem.java +++ b/src/main/java/com/google/devtools/build/lib/unix/UnixFileSystem.java @@ -270,7 +270,7 @@ public class UnixFileSystem extends AbstractFileSystemWithCustomStat { } @Override - protected void setWritable(Path path, boolean writable) throws IOException { + public void setWritable(Path path, boolean writable) throws IOException { modifyPermissionBits(path, 0200, writable); } @@ -307,7 +307,7 @@ public class UnixFileSystem extends AbstractFileSystemWithCustomStat { } @Override - protected boolean createDirectory(Path path) throws IOException { + public boolean createDirectory(Path path) throws IOException { synchronized (path) { // Note: UNIX mkdir(2), FilesystemUtils.mkdir() and createDirectory all // have different ways of representing failure! @@ -361,7 +361,7 @@ public class UnixFileSystem extends AbstractFileSystemWithCustomStat { } @Override - protected boolean delete(Path path) throws IOException { + public boolean delete(Path path) throws IOException { String name = path.toString(); long startTime = Profiler.nanoTimeMaybe(); synchronized (path) { |