switch to lys-dependencies

This commit is contained in:
2022-06-24 07:36:22 +08:00
parent 9153ba2f2c
commit ed9be33c08
3 changed files with 9 additions and 14 deletions

View File

@@ -37,7 +37,7 @@ public class ExtractorInputStreamTest {
@SneakyThrows
private static void referenceUnzipMethod(Path source, Path destination) {
try(FileSystem fs = FileSystems.newFileSystem(source, null)) {
try(FileSystem fs = FileSystems.newFileSystem(source, (ClassLoader) null)) {
for(Path root : fs.getRootDirectories()) {
Files.walk(root)
.filter(it -> !Files.isDirectory(it)).forEach(new Consumer<Path>() {