block lambda -> expr lambda

master
Anna.Kozlova 9 years ago
parent 71bb82acbe
commit 7067504c27
  1. 4
      test/org/jetbrains/java/decompiler/SingleClassesTest.java

@ -124,9 +124,7 @@ public class SingleClassesTest {
File parent = classFile.getParentFile(); File parent = classFile.getParentFile();
if (parent != null) { if (parent != null) {
final String pattern = classFile.getName().replace(".class", "") + "\\$.+\\.class"; final String pattern = classFile.getName().replace(".class", "") + "\\$.+\\.class";
File[] inner = parent.listFiles((dir, name) -> { File[] inner = parent.listFiles((dir, name) -> name.matches(pattern));
return name.matches(pattern);
});
if (inner != null) Collections.addAll(files, inner); if (inner != null) Collections.addAll(files, inner);
} }

Loading…
Cancel
Save