mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-06 08:00:18 +07:00
GitOrigin-RevId: 79f33120532750b5e93ffa3d7ce40c2345d17e39
15 lines
328 B
Java
15 lines
328 B
Java
/*
|
|
Size is always zero (map.entrySet(); line#10)
|
|
'map.size == 0' was established from condition (map.isEmpty(); line#9)
|
|
*/
|
|
import java.util.*;
|
|
|
|
public class EmptyCollectionSimple {
|
|
void test(Map<String, Integer> map) {
|
|
if (map.isEmpty()) {
|
|
for(var e : <selection>map.entrySet()</selection>) {
|
|
|
|
}
|
|
}
|
|
}
|
|
} |