summaryrefslogtreecommitdiffstats
path: root/utils/src/test/java/org
diff options
context:
space:
mode:
authorJim Hahn <jrh3@att.com>2021-08-20 17:02:13 -0400
committerJim Hahn <jrh3@att.com>2021-08-20 17:03:48 -0400
commit376cb3fd21b7881cad8df1caa5f38be2c140b0da (patch)
treea67f32b36700655a66321768981b01504b77cd31 /utils/src/test/java/org
parent5d79140dbdaa85c390c3e8f6914739c2c8a6b130 (diff)
Fix sonars and java warnings in common
Issue-ID: POLICY-3284 Change-Id: I13fc28c6ae681871be8bb9cf3d222d7c65459a44 Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to 'utils/src/test/java/org')
-rw-r--r--utils/src/test/java/org/onap/policy/common/utils/logging/LoggerUtilsTest.java10
1 files changed, 1 insertions, 9 deletions
diff --git a/utils/src/test/java/org/onap/policy/common/utils/logging/LoggerUtilsTest.java b/utils/src/test/java/org/onap/policy/common/utils/logging/LoggerUtilsTest.java
index 61b83b4c..79db2093 100644
--- a/utils/src/test/java/org/onap/policy/common/utils/logging/LoggerUtilsTest.java
+++ b/utils/src/test/java/org/onap/policy/common/utils/logging/LoggerUtilsTest.java
@@ -24,10 +24,9 @@ package org.onap.policy.common.utils.logging;
import static org.junit.Assert.assertTrue;
-import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
-import org.mockito.runners.MockitoJUnitRunner;
+import org.mockito.junit.MockitoJUnitRunner;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@@ -35,13 +34,6 @@ import org.slf4j.LoggerFactory;
public class LoggerUtilsTest {
protected static final Logger logger = LoggerFactory.getLogger(LoggerUtilsTest.class);
- private LoggerUtils util;
-
- @Before
- public void setup() {
- this.util = new LoggerUtils(logger);
- }
-
@Test
public void testMarker() {
assertTrue(logger.isInfoEnabled());