From d8118c6638bb2440f89eae9d3f979bdfb0e013c3 Mon Sep 17 00:00:00 2001 From: Jim Hahn Date: Wed, 26 Jun 2019 11:00:18 -0400 Subject: Fix sonar issues in drools-applications database Refactored to eliminate duplicate code blocks. Added coverage tests. Change-Id: I99d2b6f68fee38a1dbbf038ad29d1dfe87fb4ae7 Issue-ID: POLICY-1791 Signed-off-by: Jim Hahn --- .../guard/src/test/java/org/onap/policy/guard/GuardUtilTest.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'controlloop/common/guard/src/test') diff --git a/controlloop/common/guard/src/test/java/org/onap/policy/guard/GuardUtilTest.java b/controlloop/common/guard/src/test/java/org/onap/policy/guard/GuardUtilTest.java index 2ee514abd..0738ad180 100644 --- a/controlloop/common/guard/src/test/java/org/onap/policy/guard/GuardUtilTest.java +++ b/controlloop/common/guard/src/test/java/org/onap/policy/guard/GuardUtilTest.java @@ -24,11 +24,9 @@ package org.onap.policy.guard; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNull; -import com.att.aft.dme2.internal.google.common.io.Files; - +import com.google.common.io.Files; import java.io.File; import java.io.IOException; - import org.junit.Test; import org.onap.policy.controlloop.policy.ControlLoopPolicy; import org.onap.policy.controlloop.policy.guard.ControlLoopGuard; -- cgit 1.2.3-korg