Files
openide/java/java-tests/testData/inspection/inefficientStreamCount/beforeStreamCountStatement.java
Tagir Valeev 92ac28f978 [java-inspections] ReplaceInefficientStreamCountInspection: test preview
GitOrigin-RevId: 9d8cf85eb1eee3ca8a38c2bcde119666afcc7934
2024-04-11 14:46:30 +00:00

9 lines
171 B
Java

// "Replace with 'Collection.size()'" "true-preview"
import java.util.Arrays;
class Test {
void cnt() {
Arrays.asList('d', 'e', 'f').stream().c<caret>ount();
}
}