diff options
author | 2015-08-31 21:47:36 +0000 | |
---|---|---|
committer | 2015-09-01 00:20:47 +0000 | |
commit | 2193f329c2ca9eeda397d2c64ffa7b1e02767553 (patch) | |
tree | 0b28004a50798a311211e51117b8fbcbc8d7ef3e /src/main/java/com/google | |
parent | 747472cffc108b3e03cdf3c1cc8b7158b02fbbdf (diff) |
Make FileSystemUtils#asByteSource() private again
--
MOS_MIGRATED_REVID=101976891
Diffstat (limited to 'src/main/java/com/google')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/vfs/FileSystemUtils.java | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/vfs/FileSystemUtils.java b/src/main/java/com/google/devtools/build/lib/vfs/FileSystemUtils.java index cd0702e16f..840433a11e 100644 --- a/src/main/java/com/google/devtools/build/lib/vfs/FileSystemUtils.java +++ b/src/main/java/com/google/devtools/build/lib/vfs/FileSystemUtils.java @@ -424,10 +424,7 @@ public class FileSystemUtils { } } - /** - * Return the path as a ByteSource. - */ - public static ByteSource asByteSource(final Path path) { + private static ByteSource asByteSource(final Path path) { return new ByteSource() { @Override public InputStream openStream() throws IOException { return path.getInputStream(); |