summaryrefslogtreecommitdiffstats
path: root/appc-dispatcher/appc-dispatcher-common/ranking-framework-lib/src/test
diff options
context:
space:
mode:
authorwejs <maciej.wejs@nokia.com>2018-01-24 13:12:49 +0100
committerTakamune Cho <tc012c@att.com>2018-02-05 19:23:58 +0000
commit38a0f6ad09cd5fc655350813fd01ae5569443e79 (patch)
tree55bcfb268fa7306aeae4a3a8e77ab3af13fe6745 /appc-dispatcher/appc-dispatcher-common/ranking-framework-lib/src/test
parent4829b9b8f90cf3b2d3f5594e8343bee80d51a5ad (diff)
Sonar fixes in "appc-ranking-framework-lib"
Change-Id: Ib9c490a8bcb5107fda4be1baf12d776b30777be1 Issue-ID: APPC-477 Signed-off-by: wejs <maciej.wejs@nokia.com>
Diffstat (limited to 'appc-dispatcher/appc-dispatcher-common/ranking-framework-lib/src/test')
-rw-r--r--appc-dispatcher/appc-dispatcher-common/ranking-framework-lib/src/test/java/org/onap/appc/rankingframework/TestRankingFramework.java6
1 files changed, 1 insertions, 5 deletions
diff --git a/appc-dispatcher/appc-dispatcher-common/ranking-framework-lib/src/test/java/org/onap/appc/rankingframework/TestRankingFramework.java b/appc-dispatcher/appc-dispatcher-common/ranking-framework-lib/src/test/java/org/onap/appc/rankingframework/TestRankingFramework.java
index 99376923f..beba506da 100644
--- a/appc-dispatcher/appc-dispatcher-common/ranking-framework-lib/src/test/java/org/onap/appc/rankingframework/TestRankingFramework.java
+++ b/appc-dispatcher/appc-dispatcher-common/ranking-framework-lib/src/test/java/org/onap/appc/rankingframework/TestRankingFramework.java
@@ -32,11 +32,6 @@ import java.util.Map;
import org.junit.Assert;
import org.junit.Test;
-import org.onap.appc.rankingframework.AbstractRankedAttributesResolverFactory;
-import org.onap.appc.rankingframework.ConfigurationEntry;
-import org.onap.appc.rankingframework.ConfigurationSet;
-import org.onap.appc.rankingframework.RankedAttributesContext;
-import org.onap.appc.rankingframework.RankedAttributesResolver;
public class TestRankingFramework {
@@ -64,6 +59,7 @@ public class TestRankingFramework {
return new ConfigurationEntryImpl(map, result);
}
+ @SafeVarargs
private static ConfigurationSet<String> config(ConfigurationEntry<String> ... entries) {
return new ConfigurationSetImpl(Arrays.asList(entries), NAMES);
}