Skip to content

Commit 168b89b

Browse files
Googlercopybara-github
Googler
authored andcommitted
Automatic code cleanup.
PiperOrigin-RevId: 413675426
1 parent a9573be commit 168b89b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/java/com/google/devtools/build/lib/util/DependencySetTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ public void writeSet() throws Exception {
249249

250250
Path outfile = scratch.resolve(filename);
251251
Path dotd = scratch.resolve("/usr/local/blah/blah/genhello/hello.d");
252-
FileSystemUtils.createDirectoryAndParents(dotd.getParentDirectory());
252+
dotd.getParentDirectory().createDirectoryAndParents();
253253
depSet1.write(outfile, ".d");
254254

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

275275
Path dotd = scratch.resolve(filename);
276-
FileSystemUtils.createDirectoryAndParents(dotd.getParentDirectory());
276+
dotd.getParentDirectory().createDirectoryAndParents();
277277
depSet1.write(dotd, ".d");
278278

279279
DependencySet depSet2 = newDependencySet().read(dotd);

0 commit comments

Comments
 (0)