aboutsummaryrefslogtreecommitdiffstats
path: root/component
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@oath.com>2018-11-22 14:27:58 +0100
committerJon Bratseth <bratseth@oath.com>2018-11-22 14:27:58 +0100
commitb288e61f7af7331656a1850fbdc58cc95fd1bbad (patch)
tree9d41fa770d2890585a902f41a89c41040ed764be /component
parent3c4020645b13be560c14e60969e50e3ad41e3d3c (diff)
Move all importing to model-integration
Diffstat (limited to 'component')
-rw-r--r--component/src/main/java/com/yahoo/component/provider/ComponentRegistry.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/component/src/main/java/com/yahoo/component/provider/ComponentRegistry.java b/component/src/main/java/com/yahoo/component/provider/ComponentRegistry.java
index 03b0285639f..67de9c094e8 100644
--- a/component/src/main/java/com/yahoo/component/provider/ComponentRegistry.java
+++ b/component/src/main/java/com/yahoo/component/provider/ComponentRegistry.java
@@ -3,14 +3,11 @@ package com.yahoo.component.provider;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableMap;
-import com.yahoo.component.Component;
import com.yahoo.component.ComponentId;
import com.yahoo.component.ComponentSpecification;
import com.yahoo.component.Version;
import com.yahoo.component.VersionSpecification;
-import java.util.ArrayList;
-import java.util.Collections;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
@@ -148,7 +145,7 @@ public class ComponentRegistry<COMPONENT> {
*
* @return the matching version, or null if there are no matches
*/
- protected static Version findBestMatch(VersionSpecification versionSpec,Set<Version> versions) {
+ protected static Version findBestMatch(VersionSpecification versionSpec, Set<Version> versions) {
Version bestMatch=null;
for (Version version : versions) {
//No version is set if getSpecifiedMajor() == null