Skip to content

Commit

Permalink
Minor FileSystem refactoring.
Browse files Browse the repository at this point in the history
--
MOS_MIGRATED_REVID=95054907
  • Loading branch information
ericfelly authored and kchodorow committed Jun 3, 2015
1 parent 0732cad commit 29db384
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ public InputStream openStream() throws IOException {
* 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);
Expand Down Expand Up @@ -339,7 +339,7 @@ protected PathFragment resolveOneLink(Path path) throws IOException {
* 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
Expand Down

0 comments on commit 29db384

Please sign in to comment.