Files
openide/java/java-tests/testData/inspection/inefficientStreamCount/afterStreamCountStatement.java
T
Tagir Valeev c8b125fb65 IDEA-163051 "Replace inefficient Stream API call chains ending with count()": fix leaves redundant casts
IDEA-163050 "Replace inefficient Stream API call chains ending with count()": highlighting
2016-10-25 12:27:51 +07:00

9 lines
172 B
Java

// "Replace Collection.stream().count() with Collection.size()" "true"
import java.util.Arrays;
class Test {
void cnt() {
Arrays.asList('d', 'e', 'f').size();
}
}