mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-07 13:39:36 +07:00
StreamApiMigrationInspection: NPE fixed (EA-91387)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user