StreamApiMigrationInspection: NPE fixed (EA-91387)

This commit is contained in:
Tagir Valeev
2016-11-09 12:20:22 +07:00
parent 49b560fbf4
commit ff8a32476a
2 changed files with 20 additions and 3 deletions

View File

@@ -0,0 +1,14 @@
// "Replace with forEach" "false"
import java.awt.*;
import java.util.List;
public class Main {
public void test(List<String> list) {
for(String s : li<caret>st) {
if(s == null)
}
System.out.println(s);
}
}
}