equal
deleted
inserted
replaced
1369 return Collections.singleton(l); |
1369 return Collections.singleton(l); |
1370 } |
1370 } |
1371 |
1371 |
1372 private Pair<String,Path> inferModuleName(Path p) { |
1372 private Pair<String,Path> inferModuleName(Path p) { |
1373 if (Files.isDirectory(p)) { |
1373 if (Files.isDirectory(p)) { |
1374 if (Files.exists(p.resolve("module-info.class"))) { |
1374 if (Files.exists(p.resolve("module-info.class")) || |
|
1375 Files.exists(p.resolve("module-info.sig"))) { |
1375 String name = p.getFileName().toString(); |
1376 String name = p.getFileName().toString(); |
1376 if (SourceVersion.isName(name)) |
1377 if (SourceVersion.isName(name)) |
1377 return new Pair<>(name, p); |
1378 return new Pair<>(name, p); |
1378 } |
1379 } |
1379 return null; |
1380 return null; |