aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Lukacs Berki <lberki@google.com>2016-01-26 14:27:34 +0000
committerGravatar Lukacs Berki <lberki@google.com>2016-01-26 14:49:39 +0000
commit213ae7a17f047ecf46fec190beb23f10f58268aa (patch)
treeedc78a107eb3f1644a9ceb7a331b169028cdd0f5 /src
parentad359c6ee0156dd01938f7f8a031c54b3e8a111f (diff)
Followup change [] that fixes indentation as requested by Ulf.
-- MOS_MIGRATED_REVID=113048962
Diffstat (limited to 'src')
-rw-r--r--src/main/java/com/google/devtools/build/lib/unix/FilesystemUtils.java11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/unix/FilesystemUtils.java b/src/main/java/com/google/devtools/build/lib/unix/FilesystemUtils.java
index eab24a525d..55653e5227 100644
--- a/src/main/java/com/google/devtools/build/lib/unix/FilesystemUtils.java
+++ b/src/main/java/com/google/devtools/build/lib/unix/FilesystemUtils.java
@@ -66,8 +66,8 @@ public final class FilesystemUtils {
return false;
}
}
-
-
+
+
/**
* Marks the file or directory {@code path} as executable. (Non-atomic)
*
@@ -173,8 +173,7 @@ public final class FilesystemUtils {
* @param newpath the new path for the link
* @throws IOException iff the link() syscall failed.
*/
- public static native void link(String oldpath, String newpath)
- throws IOException;
+ public static native void link(String oldpath, String newpath) throws IOException;
/**
* Native wrapper around POSIX stat(2) syscall.
@@ -442,14 +441,14 @@ public final class FilesystemUtils {
public static HashCode md5sum(String path) throws IOException {
return HashCode.fromBytes(md5sumAsBytes(path));
}
-
+
/**
* Removes entire directory tree. Doesn't follow symlinks.
*
* @param path the file or directory to remove.
* @throws IOException if the remove failed.
*/
- public static void rmTree(String path) throws IOException {
+ public static void rmTree(String path) throws IOException {
if (isDirectory(path)) {
String[] contents = readdir(path);
for (String entry : contents) {