diff options
author | Jim Hahn <jrh3@att.com> | 2020-06-17 08:37:15 -0400 |
---|---|---|
committer | Jim Hahn <jrh3@att.com> | 2020-06-17 11:45:16 -0400 |
commit | 611f63a4bb71d677cf2665b1794e91148ba42a51 (patch) | |
tree | c6f82e5ffcd10712e0279c40bf8e59ed49f2332e /utils-test/src/test/java | |
parent | 3bd6679bd7d8f67b4827a610c25ed9671b74d89c (diff) |
Cleanup various sonar issues in policy-common
Addressed the following issues:
- unused imports
- unused method parameters
- use assertEquals, assertSame instead of assertTrue
- provide the parametrized type for this generic
Also fixed some checkstyle issues:
- removed blank lines between "import" groups
Issue-ID: POLICY-2650
Change-Id: I004bb650ac10c49ccd0fc405f6959896fec39f9b
Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to 'utils-test/src/test/java')
-rw-r--r-- | utils-test/src/test/java/org/onap/policy/common/utils/test/log/logback/ExtractAppenderTest.java | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/utils-test/src/test/java/org/onap/policy/common/utils/test/log/logback/ExtractAppenderTest.java b/utils-test/src/test/java/org/onap/policy/common/utils/test/log/logback/ExtractAppenderTest.java index 2eb07366..4c2237fc 100644 --- a/utils-test/src/test/java/org/onap/policy/common/utils/test/log/logback/ExtractAppenderTest.java +++ b/utils-test/src/test/java/org/onap/policy/common/utils/test/log/logback/ExtractAppenderTest.java @@ -26,13 +26,11 @@ import static org.junit.Assert.assertFalse; import ch.qos.logback.classic.Level; import ch.qos.logback.classic.Logger; import ch.qos.logback.classic.spi.ILoggingEvent; - import java.util.Arrays; import java.util.LinkedList; import java.util.List; import java.util.concurrent.atomic.AtomicBoolean; import java.util.concurrent.atomic.AtomicInteger; - import org.junit.After; import org.junit.Before; import org.junit.BeforeClass; |