[java-inspections] ReplaceInefficientStreamCountInspection: test preview

GitOrigin-RevId: 9d8cf85eb1eee3ca8a38c2bcde119666afcc7934
This commit is contained in:
Tagir Valeev
2024-04-10 14:00:33 +02:00
committed by intellij-monorepo-bot
parent 2ca2ae1758
commit 92ac28f978
58 changed files with 58 additions and 58 deletions

View File

@@ -1,4 +1,4 @@
// "Replace with 'stream.findAny().isEmpty()'" "true"
// "Replace with 'stream.findAny().isEmpty()'" "true-preview"
import java.util.stream.Stream;

View File

@@ -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;

View File

@@ -1,4 +1,4 @@
// "Replace with 'Stream.mapToLong().sum()'" "true"
// "Replace with 'Stream.mapToLong().sum()'" "true-preview"
import java.util.List;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -1,4 +1,4 @@
// "Replace with 'stream.findAny().isEmpty()'" "true"
// "Replace with 'stream.findAny().isEmpty()'" "true-preview"
import java.util.stream.Stream;

View File

@@ -1,4 +1,4 @@
// "Replace with 'stream.findAny().isPresent()'" "true"
// "Replace with 'stream.findAny().isPresent()'" "true-preview"
import java.util.stream.Stream;

View File

@@ -1,4 +1,4 @@
// "Replace with 'stream.findAny().isEmpty()'" "true"
// "Replace with 'stream.findAny().isEmpty()'" "true-preview"
import java.util.stream.Stream;

View File

@@ -1,4 +1,4 @@
// "Replace with 'stream.findAny().isPresent()'" "true"
// "Replace with 'stream.findAny().isPresent()'" "true-preview"
import java.util.stream.Stream;

View File

@@ -1,4 +1,4 @@
// "Replace with 'stream.findAny().isPresent()'" "true"
// "Replace with 'stream.findAny().isPresent()'" "true-preview"
import java.util.stream.Stream;

View File

@@ -1,4 +1,4 @@
// "Replace with 'stream.findAny().isEmpty()'" "true"
// "Replace with 'stream.findAny().isEmpty()'" "true-preview"
import java.util.stream.Stream;

View File

@@ -1,4 +1,4 @@
// "Replace with 'stream.findAny().isPresent()'" "true"
// "Replace with 'stream.findAny().isPresent()'" "true-preview"
import java.util.stream.Stream;

View File

@@ -1,4 +1,4 @@
// "Replace with 'stream.findAny().isEmpty()'" "true"
// "Replace with 'stream.findAny().isEmpty()'" "true-preview"
import java.util.stream.Stream;

View File

@@ -1,4 +1,4 @@
// "Replace with 'stream.findAny().isEmpty()'" "true"
// "Replace with 'stream.findAny().isEmpty()'" "true-preview"
import java.util.stream.Stream;

View File

@@ -1,4 +1,4 @@
// "Replace with 'Collection.size()'" "true"
// "Replace with 'Collection.size()'" "true-preview"
import java.util.Arrays;

View File

@@ -1,4 +1,4 @@
// "Replace with 'Collection.size()'" "true"
// "Replace with 'Collection.size()'" "true-preview"
import java.util.Arrays;

View File

@@ -1,4 +1,4 @@
// "Replace with 'Collection.size()'" "true"
// "Replace with 'Collection.size()'" "true-preview"
import java.util.Arrays;

View File

@@ -1,4 +1,4 @@
// "Replace with 'stream.anyMatch()'" "true"
// "Replace with 'stream.anyMatch()'" "true-preview"
import java.util.Arrays;

View File

@@ -1,4 +1,4 @@
// "Replace with 'stream.anyMatch()'" "true"
// "Replace with 'stream.anyMatch()'" "true-preview"
import java.util.Arrays;

View File

@@ -1,4 +1,4 @@
// "Replace with 'stream.noneMatch()'" "true"
// "Replace with 'stream.noneMatch()'" "true-preview"
import java.util.Arrays;

View File

@@ -1,4 +1,4 @@
// "Replace with 'Collection.size()'" "true"
// "Replace with 'Collection.size()'" "true-preview"
import java.util.Arrays;

View File

@@ -1,4 +1,4 @@
// "Replace with 'Collection.size()'" "true"
// "Replace with 'Collection.size()'" "true-preview"
import java.util.ArrayList;
import java.util.List;

View File

@@ -1,4 +1,4 @@
// "Replace with 'Collection.size()'" "true"
// "Replace with 'Collection.size()'" "true-preview"
import java.util.Arrays;

View File

@@ -1,4 +1,4 @@
// "Replace with 'stream.anyMatch()'" "true"
// "Replace with 'stream.anyMatch()'" "true-preview"
import java.util.Arrays;

View File

@@ -1,4 +1,4 @@
// "Replace with 'stream.noneMatch()'" "true"
// "Replace with 'stream.noneMatch()'" "true-preview"
import java.util.Arrays;

View File

@@ -1,4 +1,4 @@
// "Replace with 'stream.noneMatch()'" "true"
// "Replace with 'stream.noneMatch()'" "true-preview"
import java.util.Arrays;

View File

@@ -1,4 +1,4 @@
// "Replace with 'stream.findAny().isEmpty()'" "true"
// "Replace with 'stream.findAny().isEmpty()'" "true-preview"
import java.util.stream.Stream;

View File

@@ -1,4 +1,4 @@
// "Replace with 'stream.findAny().isEmpty()'" "true"
// "Replace with 'stream.findAny().isEmpty()'" "true-preview"
import java.util.stream.Stream;

View File

@@ -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;

View File

@@ -1,4 +1,4 @@
// "Replace with 'Stream.mapToLong().sum()'" "true"
// "Replace with 'Stream.mapToLong().sum()'" "true-preview"
import java.util.List;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -1,4 +1,4 @@
// "Replace with 'stream.findAny().isEmpty()'" "true"
// "Replace with 'stream.findAny().isEmpty()'" "true-preview"
import java.util.stream.Stream;

View File

@@ -1,4 +1,4 @@
// "Replace with 'stream.findAny().isPresent()'" "true"
// "Replace with 'stream.findAny().isPresent()'" "true-preview"
import java.util.stream.Stream;

View File

@@ -1,4 +1,4 @@
// "Replace with 'stream.findAny().isEmpty()'" "true"
// "Replace with 'stream.findAny().isEmpty()'" "true-preview"
import java.util.stream.Stream;

View File

@@ -1,4 +1,4 @@
// "Replace with 'stream.findAny().isPresent()'" "true"
// "Replace with 'stream.findAny().isPresent()'" "true-preview"
import java.util.stream.Stream;

View File

@@ -1,4 +1,4 @@
// "Replace with 'stream.findAny().isPresent()'" "true"
// "Replace with 'stream.findAny().isPresent()'" "true-preview"
import java.util.stream.Stream;

View File

@@ -1,4 +1,4 @@
// "Replace with 'stream.findAny().isEmpty()'" "true"
// "Replace with 'stream.findAny().isEmpty()'" "true-preview"
import java.util.stream.Stream;

View File

@@ -1,4 +1,4 @@
// "Replace with 'stream.findAny().isPresent()'" "true"
// "Replace with 'stream.findAny().isPresent()'" "true-preview"
import java.util.stream.Stream;

View File

@@ -1,4 +1,4 @@
// "Replace with 'stream.findAny().isEmpty()'" "true"
// "Replace with 'stream.findAny().isEmpty()'" "true-preview"
import java.util.stream.Stream;

View File

@@ -1,4 +1,4 @@
// "Replace with 'stream.findAny().isEmpty()'" "true"
// "Replace with 'stream.findAny().isEmpty()'" "true-preview"
import java.util.stream.Stream;

View File

@@ -1,4 +1,4 @@
// "Replace with 'Collection.size()'" "true"
// "Replace with 'Collection.size()'" "true-preview"
import java.util.Arrays;

View File

@@ -1,4 +1,4 @@
// "Replace with 'Collection.size()'" "true"
// "Replace with 'Collection.size()'" "true-preview"
import java.util.Arrays;

View File

@@ -1,4 +1,4 @@
// "Replace with 'Collection.size()'" "true"
// "Replace with 'Collection.size()'" "true-preview"
import java.util.Arrays;

View File

@@ -1,4 +1,4 @@
// "Replace with 'stream.anyMatch()'" "true"
// "Replace with 'stream.anyMatch()'" "true-preview"
import java.util.Arrays;

View File

@@ -1,4 +1,4 @@
// "Replace with 'stream.anyMatch()'" "true"
// "Replace with 'stream.anyMatch()'" "true-preview"
import java.util.Arrays;

View File

@@ -1,4 +1,4 @@
// "Replace with 'stream.noneMatch()'" "true"
// "Replace with 'stream.noneMatch()'" "true-preview"
import java.util.Arrays;

View File

@@ -1,4 +1,4 @@
// "Replace with 'Collection.size()'" "true"
// "Replace with 'Collection.size()'" "true-preview"
import java.util.Arrays;

View File

@@ -1,4 +1,4 @@
// "Replace with 'Collection.size()'" "true"
// "Replace with 'Collection.size()'" "true-preview"
import java.util.ArrayList;
import java.util.List;

View File

@@ -1,4 +1,4 @@
// "Replace with 'Collection.size()'" "true"
// "Replace with 'Collection.size()'" "true-preview"
import java.util.Arrays;

View File

@@ -1,4 +1,4 @@
// "Replace with 'stream.anyMatch()'" "true"
// "Replace with 'stream.anyMatch()'" "true-preview"
import java.util.Arrays;

View File

@@ -1,4 +1,4 @@
// "Replace with 'stream.noneMatch()'" "true"
// "Replace with 'stream.noneMatch()'" "true-preview"
import java.util.Arrays;

View File

@@ -1,4 +1,4 @@
// "Replace with 'stream.noneMatch()'" "true"
// "Replace with 'stream.noneMatch()'" "true-preview"
import java.util.Arrays;

View File

@@ -1,4 +1,4 @@
// "Replace with 'stream.findAny().isEmpty()'" "true"
// "Replace with 'stream.findAny().isEmpty()'" "true-preview"
import java.util.stream.Stream;