mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-22 00:19:11 +07:00
GitOrigin-RevId: 84ef59c2941462b3060c31cfea85f90ee6d39af8
13 lines
284 B
Java
13 lines
284 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 s.size();
|
|
}
|
|
}
|