mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-20 11:36:16 +07:00
12 lines
300 B
Java
12 lines
300 B
Java
// "Replace Collection.stream().count() with Collection.size()" "true"
|
|
|
|
import java.util.ArrayList;
|
|
import java.util.List;
|
|
|
|
public class Main {
|
|
public static long test() {
|
|
List<String> s = new ArrayList<>();
|
|
return s.</* unused parameter */String>stream().co<caret>unt();
|
|
}
|
|
}
|