mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-31 17:45:48 +07:00
GitOrigin-RevId: 9d8cf85eb1eee3ca8a38c2bcde119666afcc7934
12 lines
282 B
Java
12 lines
282 B
Java
// "Replace with 'Collection.size()'" "true-preview"
|
|
|
|
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();
|
|
}
|
|
}
|