aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/java
diff options
context:
space:
mode:
authorDenes Nemeth <denes.nemeth@nokia.com>2017-12-06 18:20:59 +0100
committerDenes Nemeth <denes.nemeth@nokia.com>2017-12-06 18:31:10 +0100
commitb72d11d94a75cc849868189f16ddcf1745602099 (patch)
tree21f5158db9d20e68597de1e3811624f3d6af0a24 /src/test/java
parent9f483edc768522392ef40bbad5863e2ce79ee771 (diff)
remove the heavy (many MB) unused dependencies
Change-Id: I023855c8b163004df8732b075dc08db06fbb9b9b Issue-ID: MSB-102 Signed-off-by: Denes Nemeth <denes.nemeth@nokia.com>
Diffstat (limited to 'src/test/java')
-rw-r--r--src/test/java/org/onap/msb/sdk/httpclient/handler/ServiceBuilderTest.java8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/test/java/org/onap/msb/sdk/httpclient/handler/ServiceBuilderTest.java b/src/test/java/org/onap/msb/sdk/httpclient/handler/ServiceBuilderTest.java
index 6c29440..2228de6 100644
--- a/src/test/java/org/onap/msb/sdk/httpclient/handler/ServiceBuilderTest.java
+++ b/src/test/java/org/onap/msb/sdk/httpclient/handler/ServiceBuilderTest.java
@@ -19,6 +19,7 @@ package org.onap.msb.sdk.httpclient.handler;
import static org.junit.Assert.assertEquals;
import java.util.List;
+import java.util.ArrayList;
import org.junit.Before;
import org.junit.Test;
@@ -28,17 +29,13 @@ import org.onap.msb.sdk.httpclient.convert.jackson.JacksonConverterFactoryBuilde
import org.onap.msb.sdk.httpclient.handler.impl.ConnectionParamsBuilder;
import org.onap.msb.sdk.httpclient.handler.impl.ConverterFactoryBuilder;
import org.onap.msb.sdk.httpclient.handler.impl.LBBuilder;
-import org.onap.msb.sdk.httpclient.handler.impl.MetricmanagerBuilder;
import org.onap.msb.sdk.httpclient.handler.impl.RetrofitHandlerContextBuilder;
import org.onap.msb.sdk.httpclient.handler.impl.ServiceHttpEndPointBeanObjectBuilder;
import org.onap.msb.sdk.httpclient.lb.RoundRobinLBStrategy;
-import com.google.common.collect.Lists;
-
-
public class ServiceBuilderTest {
- private List<HandlerContextBuilder> builders = Lists.newArrayList();
+ private List<HandlerContextBuilder> builders = new ArrayList<>();
private HttpClientConf globalHttpClientConf;
/**
@@ -100,7 +97,6 @@ public class ServiceBuilderTest {
private void init() {
builders.add(new ServiceHttpEndPointBeanObjectBuilder());
- builders.add(new MetricmanagerBuilder());
builders.add(new LBBuilder());
builders.add(new ConnectionParamsBuilder());
builders.add(new ConverterFactoryBuilder());