Skip to content

Commit

Permalink
Automatic code cleanup.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 413675426
  • Loading branch information
Googler authored and copybara-github committed Dec 2, 2021
1 parent a9573be commit 168b89b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ public void writeSet() throws Exception {

Path outfile = scratch.resolve(filename);
Path dotd = scratch.resolve("/usr/local/blah/blah/genhello/hello.d");
FileSystemUtils.createDirectoryAndParents(dotd.getParentDirectory());
dotd.getParentDirectory().createDirectoryAndParents();
depSet1.write(outfile, ".d");

String dotdContents = new String(FileSystemUtils.readContentAsLatin1(dotd));
Expand All @@ -273,7 +273,7 @@ public void writeReadSet() throws Exception {
depSet1.setOutputFileName(filename);

Path dotd = scratch.resolve(filename);
FileSystemUtils.createDirectoryAndParents(dotd.getParentDirectory());
dotd.getParentDirectory().createDirectoryAndParents();
depSet1.write(dotd, ".d");

DependencySet depSet2 = newDependencySet().read(dotd);
Expand Down

0 comments on commit 168b89b

Please sign in to comment.