Skip to content

Commit

Permalink
(follow up) additional improvement to `Fix NullPointerException on a …
Browse files Browse the repository at this point in the history
…parallel run #35`
  • Loading branch information
dbessono committed Sep 1, 2022
1 parent 2b3e2b6 commit 579fd52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/com/sun/javatest/TRT_TreeNode.java
Expand Up @@ -804,7 +804,7 @@ synchronized void scanIfNeeded() {
processFile(thisDir);
} else {
String path = TestResultTable.getRootRelativePath(this);
processFile("".equals(path) // Zero length string if the node is a root
processFile(path == null || path.isEmpty() // Zero length string if the node is a root
? new File(filesToScan[i])
: new File(path + File.separator + filesToScan[i]));
}
Expand Down

0 comments on commit 579fd52

Please sign in to comment.