aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google
diff options
context:
space:
mode:
authorGravatar Michajlo Matijkiw <michajlo@google.com>2015-08-31 21:47:36 +0000
committerGravatar Kristina Chodorow <kchodorow@google.com>2015-09-01 00:20:47 +0000
commit2193f329c2ca9eeda397d2c64ffa7b1e02767553 (patch)
tree0b28004a50798a311211e51117b8fbcbc8d7ef3e /src/main/java/com/google
parent747472cffc108b3e03cdf3c1cc8b7158b02fbbdf (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.java5
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();