mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-20 20:45:15 +07:00
IDEA-163875 Inspection "Replace inefficient Stream API call chains ending with count()" should respect alignment settings
11 lines
239 B
Java
11 lines
239 B
Java
// "Replace Collection.stream().count() with Collection.size()" "true"
|
|
|
|
import java.util.Arrays;
|
|
|
|
class Test {
|
|
short cnt() {
|
|
/*before dot*/
|
|
//after dot
|
|
return (short) Arrays.asList('d', 'e', 'f').size();
|
|
}
|
|
} |