diff options
author | 2015-06-02 23:07:36 +0000 | |
---|---|---|
committer | 2015-06-03 13:49:04 +0000 | |
commit | 29db38435056b6bc30631b8c9d253aebc7d43805 (patch) | |
tree | d16135b8d2ab4d2678a800858d3d83c03708c254 /src/main/java/com/google | |
parent | 0732cad9677ec1c4a1e7138df2c00daa083ab0dc (diff) |
Minor FileSystem refactoring.
--
MOS_MIGRATED_REVID=95054907
Diffstat (limited to 'src/main/java/com/google')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/vfs/FileSystem.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/vfs/FileSystem.java b/src/main/java/com/google/devtools/build/lib/vfs/FileSystem.java index 873127f5d8..700434532f 100644 --- a/src/main/java/com/google/devtools/build/lib/vfs/FileSystem.java +++ b/src/main/java/com/google/devtools/build/lib/vfs/FileSystem.java @@ -275,7 +275,7 @@ public abstract class FileSystem { * readlink(child) fails for any reason (e.g. ENOENT, EACCES), or if * the chain of symbolic links exceeds 'maxLinks'. */ - private Path appendSegment(Path dir, String child, int maxLinks) throws IOException { + protected final Path appendSegment(Path dir, String child, int maxLinks) throws IOException { Path naive = dir.getChild(child); PathFragment linkTarget = resolveOneLink(naive); @@ -339,7 +339,7 @@ public abstract class FileSystem { * Returns the canonical path for the given path. See * {@link Path#resolveSymbolicLinks} for specification. */ - protected final Path resolveSymbolicLinks(Path path) + protected Path resolveSymbolicLinks(Path path) throws IOException { Path parentNode = path.getParentDirectory(); return parentNode == null |