mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-20 11:36:16 +07:00
13 lines
291 B
Java
13 lines
291 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<>();
|
|
/* unused parameter */
|
|
return (long) s.size();
|
|
}
|
|
}
|