IDEA-160427 Inspection to replace collection.stream().count() with collection.size()
authorTagir Valeev <Tagir.Valeev@jetbrains.com>
Mon, 29 Aug 2016 12:57:08 +0000 (15:57 +0300)
committerTagir Valeev <Tagir.Valeev@jetbrains.com>
Mon, 29 Aug 2016 12:57:08 +0000 (15:57 +0300)
commit0f67f92443621ecd62de2704fd4640bf806d16ef
tree75a7047db5c727d37214473af7eb0090afa58cc5
parent2d9cd5a968fce1965250bc447298941e22f0a27f
IDEA-160427 Inspection to replace collection.stream().count() with collection.size()
java/java-analysis-impl/src/com/intellij/codeInspection/SimplifyStreamApiCallChainsInspection.java
java/java-tests/testData/inspection/streamApiCallChains/afterStreamCount.java [new file with mode: 0644]
java/java-tests/testData/inspection/streamApiCallChains/beforeStreamCount.java [new file with mode: 0644]