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/vfs/inmemoryfs | |
parent | f35c8a0dfb74f7b0d7b292d5a23eb7ce10723954 (diff) |
Thread filesystem through codebase.
RELNOTES: None
PiperOrigin-RevId: 178426166
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/vfs/inmemoryfs')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/vfs/inmemoryfs/InMemoryFileSystem.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/vfs/inmemoryfs/InMemoryFileSystem.java b/src/main/java/com/google/devtools/build/lib/vfs/inmemoryfs/InMemoryFileSystem.java index 7e4d6601bc..b439603bba 100644 --- a/src/main/java/com/google/devtools/build/lib/vfs/inmemoryfs/InMemoryFileSystem.java +++ b/src/main/java/com/google/devtools/build/lib/vfs/inmemoryfs/InMemoryFileSystem.java @@ -702,7 +702,7 @@ public class InMemoryFileSystem extends FileSystem { } @Override - protected void setLastModifiedTime(Path path, long newTime) throws IOException { + public void setLastModifiedTime(Path path, long newTime) throws IOException { synchronized (this) { InMemoryContentInfo status = scopeLimitedStat(path, true); status.setLastModifiedTime(newTime == -1L ? clock.currentTimeMillis() : newTime); @@ -751,7 +751,7 @@ public class InMemoryFileSystem extends FileSystem { } @Override - protected void renameTo(Path sourcePath, Path targetPath) + public void renameTo(Path sourcePath, Path targetPath) throws IOException { if (sourcePath.equals(getRootDirectory())) { throw Error.EACCES.exception(sourcePath); |