Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/streamApiMigration/beforeIncompleteNewCall.java
Anna Kozlova 50043d2bd9 EA-65747 - assert: LambdaCanBeMethodReferenceInspection.canBeMethodReferenceProblem
(cherry picked from commit 694a7b3b7869e1be50170bf6490c8b3e30328c4b)
2015-03-11 20:36:01 +01:00

15 lines
292 B
Java

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