diff options
author | 2017-12-08 14:19:42 -0800 | |
---|---|---|
committer | 2017-12-08 14:23:59 -0800 | |
commit | c2f6ae8f61b15c621323b62665b324ad21d59f32 (patch) | |
tree | 2496ec0d1f59cea23b7965a0547169e30bd3e14b /src/main/java/com/google/devtools/build/lib/unix/UnixFileSystem.java | |
parent | f35c8a0dfb74f7b0d7b292d5a23eb7ce10723954 (diff) |
Thread filesystem through codebase.
RELNOTES: None
PiperOrigin-RevId: 178426166
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 1a13b461fc..cfd07b336c 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 @@ -349,7 +349,7 @@ public class UnixFileSystem extends AbstractFileSystemWithCustomStat { } @Override - protected void renameTo(Path sourcePath, Path targetPath) throws IOException { + public void renameTo(Path sourcePath, Path targetPath) throws IOException { synchronized (sourcePath) { NativePosixFiles.rename(sourcePath.toString(), targetPath.toString()); } @@ -379,7 +379,7 @@ public class UnixFileSystem extends AbstractFileSystemWithCustomStat { } @Override - protected void setLastModifiedTime(Path path, long newTime) throws IOException { + public void setLastModifiedTime(Path path, long newTime) throws IOException { synchronized (path) { if (newTime == -1L) { // "now" NativePosixFiles.utime(path.toString(), true, 0); @@ -392,7 +392,7 @@ public class UnixFileSystem extends AbstractFileSystemWithCustomStat { } @Override - protected byte[] getxattr(Path path, String name) throws IOException { + public byte[] getxattr(Path path, String name) throws IOException { String pathName = path.toString(); long startTime = Profiler.nanoTimeMaybe(); try { |