Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/streamApiMigration/other/afterIncompleteNewCall.java

13 lines
276 B
Java

// "Replace with forEach" "INFORMATION"
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.util.*;
class A {
public void foo(final Set<String> strings) throws FileNotFoundException {
strings.forEach(s -> new FileInputStream());
}
}