[java-inspections] ReplaceInefficientStreamCountInspection: test preview

GitOrigin-RevId: 9d8cf85eb1eee3ca8a38c2bcde119666afcc7934
This commit is contained in:
Tagir Valeev
2024-04-11 14:46:30 +00:00
committed by intellij-monorepo-bot
parent 2ca2ae1758
commit 92ac28f978
58 changed files with 58 additions and 58 deletions
@@ -1,4 +1,4 @@
// "Replace with 'stream.findAny().isEmpty()'" "true"
// "Replace with 'stream.findAny().isEmpty()'" "true-preview"
import java.util.stream.Stream;
@@ -1,4 +1,4 @@
// "Replace with 'Stream.mapToLong().sum()'" "true"
// "Replace with 'Stream.mapToLong().sum()'" "true-preview"
import java.util.List;
import java.util.Map;
@@ -1,4 +1,4 @@
// "Replace with 'Stream.mapToLong().sum()'" "true"
// "Replace with 'Stream.mapToLong().sum()'" "true-preview"
import java.util.List;
@@ -1,4 +1,4 @@
// "Replace with 'Stream.mapToLong().sum()'" "true"
// "Replace with 'Stream.mapToLong().sum()'" "true-preview"
import java.util.Collection;
import java.util.List;
@@ -1,4 +1,4 @@
// "Replace with 'Stream.mapToLong().sum()'" "true"
// "Replace with 'Stream.mapToLong().sum()'" "true-preview"
import java.util.Collection;
import java.util.List;
@@ -1,4 +1,4 @@
// "Replace with 'stream.findAny().isPresent()'" "true"
// "Replace with 'stream.findAny().isPresent()'" "true-preview"
import java.util.stream.Collectors;
import java.util.stream.Stream;
@@ -1,4 +1,4 @@
// "Replace with 'stream.anyMatch()'" "true"
// "Replace with 'stream.anyMatch()'" "true-preview"
import java.util.stream.Collectors;
import java.util.stream.Stream;
@@ -1,4 +1,4 @@
// "Replace with 'stream.findAny().isEmpty()'" "true"
// "Replace with 'stream.findAny().isEmpty()'" "true-preview"
import java.util.stream.Stream;
@@ -1,4 +1,4 @@
// "Replace with 'stream.findAny().isPresent()'" "true"
// "Replace with 'stream.findAny().isPresent()'" "true-preview"
import java.util.stream.Stream;
@@ -1,4 +1,4 @@
// "Replace with 'stream.findAny().isEmpty()'" "true"
// "Replace with 'stream.findAny().isEmpty()'" "true-preview"
import java.util.stream.Stream;
@@ -1,4 +1,4 @@
// "Replace with 'stream.findAny().isPresent()'" "true"
// "Replace with 'stream.findAny().isPresent()'" "true-preview"
import java.util.stream.Stream;
@@ -1,4 +1,4 @@
// "Replace with 'stream.findAny().isPresent()'" "true"
// "Replace with 'stream.findAny().isPresent()'" "true-preview"
import java.util.stream.Stream;
@@ -1,4 +1,4 @@
// "Replace with 'stream.findAny().isEmpty()'" "true"
// "Replace with 'stream.findAny().isEmpty()'" "true-preview"
import java.util.stream.Stream;
@@ -1,4 +1,4 @@
// "Replace with 'stream.findAny().isPresent()'" "true"
// "Replace with 'stream.findAny().isPresent()'" "true-preview"
import java.util.stream.Stream;
@@ -1,4 +1,4 @@
// "Replace with 'stream.findAny().isEmpty()'" "true"
// "Replace with 'stream.findAny().isEmpty()'" "true-preview"
import java.util.stream.Stream;
@@ -1,4 +1,4 @@
// "Replace with 'stream.findAny().isEmpty()'" "true"
// "Replace with 'stream.findAny().isEmpty()'" "true-preview"
import java.util.stream.Stream;
@@ -1,4 +1,4 @@
// "Replace with 'Collection.size()'" "true"
// "Replace with 'Collection.size()'" "true-preview"
import java.util.Arrays;
@@ -1,4 +1,4 @@
// "Replace with 'Collection.size()'" "true"
// "Replace with 'Collection.size()'" "true-preview"
import java.util.Arrays;
@@ -1,4 +1,4 @@
// "Replace with 'Collection.size()'" "true"
// "Replace with 'Collection.size()'" "true-preview"
import java.util.Arrays;
@@ -1,4 +1,4 @@
// "Replace with 'stream.anyMatch()'" "true"
// "Replace with 'stream.anyMatch()'" "true-preview"
import java.util.Arrays;
@@ -1,4 +1,4 @@
// "Replace with 'stream.anyMatch()'" "true"
// "Replace with 'stream.anyMatch()'" "true-preview"
import java.util.Arrays;
@@ -1,4 +1,4 @@
// "Replace with 'stream.noneMatch()'" "true"
// "Replace with 'stream.noneMatch()'" "true-preview"
import java.util.Arrays;
@@ -1,4 +1,4 @@
// "Replace with 'Collection.size()'" "true"
// "Replace with 'Collection.size()'" "true-preview"
import java.util.Arrays;
@@ -1,4 +1,4 @@
// "Replace with 'Collection.size()'" "true"
// "Replace with 'Collection.size()'" "true-preview"
import java.util.ArrayList;
import java.util.List;
@@ -1,4 +1,4 @@
// "Replace with 'Collection.size()'" "true"
// "Replace with 'Collection.size()'" "true-preview"
import java.util.Arrays;
@@ -1,4 +1,4 @@
// "Replace with 'stream.anyMatch()'" "true"
// "Replace with 'stream.anyMatch()'" "true-preview"
import java.util.Arrays;
@@ -1,4 +1,4 @@
// "Replace with 'stream.noneMatch()'" "true"
// "Replace with 'stream.noneMatch()'" "true-preview"
import java.util.Arrays;
@@ -1,4 +1,4 @@
// "Replace with 'stream.noneMatch()'" "true"
// "Replace with 'stream.noneMatch()'" "true-preview"
import java.util.Arrays;
@@ -1,4 +1,4 @@
// "Replace with 'stream.findAny().isEmpty()'" "true"
// "Replace with 'stream.findAny().isEmpty()'" "true-preview"
import java.util.stream.Stream;
@@ -1,4 +1,4 @@
// "Replace with 'stream.findAny().isEmpty()'" "true"
// "Replace with 'stream.findAny().isEmpty()'" "true-preview"
import java.util.stream.Stream;
@@ -1,4 +1,4 @@
// "Replace with 'Stream.mapToLong().sum()'" "true"
// "Replace with 'Stream.mapToLong().sum()'" "true-preview"
import java.util.List;
import java.util.Map;
@@ -1,4 +1,4 @@
// "Replace with 'Stream.mapToLong().sum()'" "true"
// "Replace with 'Stream.mapToLong().sum()'" "true-preview"
import java.util.List;
@@ -1,4 +1,4 @@
// "Replace with 'Stream.mapToLong().sum()'" "true"
// "Replace with 'Stream.mapToLong().sum()'" "true-preview"
import java.util.Collection;
import java.util.List;
@@ -1,4 +1,4 @@
// "Replace with 'Stream.mapToLong().sum()'" "true"
// "Replace with 'Stream.mapToLong().sum()'" "true-preview"
import java.util.Collection;
import java.util.List;
@@ -1,4 +1,4 @@
// "Replace with 'stream.findAny().isPresent()'" "true"
// "Replace with 'stream.findAny().isPresent()'" "true-preview"
import java.util.stream.Collectors;
import java.util.stream.Stream;
@@ -1,4 +1,4 @@
// "Replace with 'stream.anyMatch()'" "true"
// "Replace with 'stream.anyMatch()'" "true-preview"
import java.util.stream.Collectors;
import java.util.stream.Stream;
@@ -1,4 +1,4 @@
// "Replace with 'stream.findAny().isEmpty()'" "true"
// "Replace with 'stream.findAny().isEmpty()'" "true-preview"
import java.util.stream.Stream;
@@ -1,4 +1,4 @@
// "Replace with 'stream.findAny().isPresent()'" "true"
// "Replace with 'stream.findAny().isPresent()'" "true-preview"
import java.util.stream.Stream;
@@ -1,4 +1,4 @@
// "Replace with 'stream.findAny().isEmpty()'" "true"
// "Replace with 'stream.findAny().isEmpty()'" "true-preview"
import java.util.stream.Stream;
@@ -1,4 +1,4 @@
// "Replace with 'stream.findAny().isPresent()'" "true"
// "Replace with 'stream.findAny().isPresent()'" "true-preview"
import java.util.stream.Stream;
@@ -1,4 +1,4 @@
// "Replace with 'stream.findAny().isPresent()'" "true"
// "Replace with 'stream.findAny().isPresent()'" "true-preview"
import java.util.stream.Stream;
@@ -1,4 +1,4 @@
// "Replace with 'stream.findAny().isEmpty()'" "true"
// "Replace with 'stream.findAny().isEmpty()'" "true-preview"
import java.util.stream.Stream;
@@ -1,4 +1,4 @@
// "Replace with 'stream.findAny().isPresent()'" "true"
// "Replace with 'stream.findAny().isPresent()'" "true-preview"
import java.util.stream.Stream;
@@ -1,4 +1,4 @@
// "Replace with 'stream.findAny().isEmpty()'" "true"
// "Replace with 'stream.findAny().isEmpty()'" "true-preview"
import java.util.stream.Stream;
@@ -1,4 +1,4 @@
// "Replace with 'stream.findAny().isEmpty()'" "true"
// "Replace with 'stream.findAny().isEmpty()'" "true-preview"
import java.util.stream.Stream;
@@ -1,4 +1,4 @@
// "Replace with 'Collection.size()'" "true"
// "Replace with 'Collection.size()'" "true-preview"
import java.util.Arrays;
@@ -1,4 +1,4 @@
// "Replace with 'Collection.size()'" "true"
// "Replace with 'Collection.size()'" "true-preview"
import java.util.Arrays;
@@ -1,4 +1,4 @@
// "Replace with 'Collection.size()'" "true"
// "Replace with 'Collection.size()'" "true-preview"
import java.util.Arrays;
@@ -1,4 +1,4 @@
// "Replace with 'stream.anyMatch()'" "true"
// "Replace with 'stream.anyMatch()'" "true-preview"
import java.util.Arrays;
@@ -1,4 +1,4 @@
// "Replace with 'stream.anyMatch()'" "true"
// "Replace with 'stream.anyMatch()'" "true-preview"
import java.util.Arrays;
@@ -1,4 +1,4 @@
// "Replace with 'stream.noneMatch()'" "true"
// "Replace with 'stream.noneMatch()'" "true-preview"
import java.util.Arrays;
@@ -1,4 +1,4 @@
// "Replace with 'Collection.size()'" "true"
// "Replace with 'Collection.size()'" "true-preview"
import java.util.Arrays;
@@ -1,4 +1,4 @@
// "Replace with 'Collection.size()'" "true"
// "Replace with 'Collection.size()'" "true-preview"
import java.util.ArrayList;
import java.util.List;
@@ -1,4 +1,4 @@
// "Replace with 'Collection.size()'" "true"
// "Replace with 'Collection.size()'" "true-preview"
import java.util.Arrays;
@@ -1,4 +1,4 @@
// "Replace with 'stream.anyMatch()'" "true"
// "Replace with 'stream.anyMatch()'" "true-preview"
import java.util.Arrays;
@@ -1,4 +1,4 @@
// "Replace with 'stream.noneMatch()'" "true"
// "Replace with 'stream.noneMatch()'" "true-preview"
import java.util.Arrays;
@@ -1,4 +1,4 @@
// "Replace with 'stream.noneMatch()'" "true"
// "Replace with 'stream.noneMatch()'" "true-preview"
import java.util.Arrays;
@@ -1,4 +1,4 @@
// "Replace with 'stream.findAny().isEmpty()'" "true"
// "Replace with 'stream.findAny().isEmpty()'" "true-preview"
import java.util.stream.Stream;