aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-core/src/test
diff options
context:
space:
mode:
authorPierre <pierre.guillot@sonarsource.com>2023-07-11 15:18:30 +0200
committersonartech <sonartech@sonarsource.com>2023-07-17 20:03:44 +0000
commit5737b08804feb53257e712443b2eb69ab4607f47 (patch)
tree56bd9496012f2b9ea969ef48ed3c386db875bed1 /sonar-core/src/test
parent81e6bd88fc88a93c962798944009eb41abd0ebd4 (diff)
downloadsonarqube-5737b08804feb53257e712443b2eb69ab4607f47.tar.gz
sonarqube-5737b08804feb53257e712443b2eb69ab4607f47.zip
NO-JIRA replace MoreCollectors.toList(size) with Collectors.toList
Diffstat (limited to 'sonar-core/src/test')
-rw-r--r--sonar-core/src/test/java/org/sonar/core/util/stream/MoreCollectorsTest.java5
1 files changed, 0 insertions, 5 deletions
diff --git a/sonar-core/src/test/java/org/sonar/core/util/stream/MoreCollectorsTest.java b/sonar-core/src/test/java/org/sonar/core/util/stream/MoreCollectorsTest.java
index 2314dfb8210..e880fd4facc 100644
--- a/sonar-core/src/test/java/org/sonar/core/util/stream/MoreCollectorsTest.java
+++ b/sonar-core/src/test/java/org/sonar/core/util/stream/MoreCollectorsTest.java
@@ -93,11 +93,6 @@ public class MoreCollectorsTest {
}
@Test
- public void toList_with_size_parallel_stream() {
- assertThat(HUGE_LIST.parallelStream().collect(toList(HUGE_LIST.size()))).isEqualTo(HUGE_LIST);
- }
-
- @Test
public void toSet_builds_an_ImmutableSet() {
Set<Integer> res = Stream.of(1, 2, 3, 4, 5).collect(toImmutableSet());
assertThat(res).isInstanceOf(ImmutableSet.class)