summaryrefslogtreecommitdiffstats
path: root/bundle-plugin/src/main/java/com/yahoo/container/plugin/util/TestBundleDependencyScopeTranslator.java
diff options
context:
space:
mode:
Diffstat (limited to 'bundle-plugin/src/main/java/com/yahoo/container/plugin/util/TestBundleDependencyScopeTranslator.java')
-rw-r--r--bundle-plugin/src/main/java/com/yahoo/container/plugin/util/TestBundleDependencyScopeTranslator.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/bundle-plugin/src/main/java/com/yahoo/container/plugin/util/TestBundleDependencyScopeTranslator.java b/bundle-plugin/src/main/java/com/yahoo/container/plugin/util/TestBundleDependencyScopeTranslator.java
index 65606633dee..dd2e41b6dc3 100644
--- a/bundle-plugin/src/main/java/com/yahoo/container/plugin/util/TestBundleDependencyScopeTranslator.java
+++ b/bundle-plugin/src/main/java/com/yahoo/container/plugin/util/TestBundleDependencyScopeTranslator.java
@@ -13,7 +13,6 @@ import java.util.function.Function;
import java.util.logging.Logger;
import java.util.stream.Collectors;
-import static java.util.stream.Collectors.toList;
import static java.util.stream.Collectors.toMap;
/**
@@ -60,7 +59,7 @@ public class TestBundleDependencyScopeTranslator implements Artifacts.ScopeTrans
.map(String::strip)
.filter(s -> !s.isBlank())
.map(TestBundleDependencyScopeTranslator::toDependencyOverride)
- .collect(toList());
+ .toList();
}
private static DependencyOverride toDependencyOverride(String overrideString) {
@@ -96,7 +95,7 @@ public class TestBundleDependencyScopeTranslator implements Artifacts.ScopeTrans
.skip(1) // Maven project itself is the first entry
.map(otherArtifacts::get)
.filter(Objects::nonNull)
- .collect(toList());
+ .toList();
}
private static class DependencyOverride {