This commit is contained in:
erabii
2024-09-09 23:30:39 +03:00
committed by GitHub
parent 31492052c5
commit cc19a5dd66
9 changed files with 9 additions and 16 deletions

View File

@@ -86,7 +86,7 @@ public class TestsDiscovery {
// /tmp/deps.txt is created by the pipeline
private static List<String> entireClasspath() throws Exception {
try (Stream<String> lines = Files.lines(Paths.get("/tmp/deps.txt"))) {
return lines.distinct().collect(Collectors.toList());
return lines.distinct().toList();
}
}