summaryrefslogtreecommitdiffstats
path: root/utils/src/test/java
diff options
context:
space:
mode:
authorJim Hahn <jrh3@att.com>2019-10-29 15:02:25 -0400
committerJim Hahn <jrh3@att.com>2019-10-29 15:53:49 -0400
commitafc7fa55500109a25772681882ad12c22c794a2b (patch)
treed45405db28fe56c784ba9c25b85a48ee6f384cea /utils/src/test/java
parent884fb564f0a04474527a049f096f024c7ab8bab4 (diff)
Fix new sonar issues in common
Issue-ID: POLICY-2204 Signed-off-by: Jim Hahn <jrh3@att.com> Change-Id: If0a11913f614e038ecd3e8c3f0b56d3ac78b03ec Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to 'utils/src/test/java')
-rw-r--r--utils/src/test/java/org/onap/policy/common/utils/coder/PropertyCoderTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/src/test/java/org/onap/policy/common/utils/coder/PropertyCoderTest.java b/utils/src/test/java/org/onap/policy/common/utils/coder/PropertyCoderTest.java
index 87617758..83017e70 100644
--- a/utils/src/test/java/org/onap/policy/common/utils/coder/PropertyCoderTest.java
+++ b/utils/src/test/java/org/onap/policy/common/utils/coder/PropertyCoderTest.java
@@ -59,7 +59,7 @@ public class PropertyCoderTest {
}
@Test
- public void testPropertyCoder() throws CoderException {
+ public void testPropertyCoder() {
MyClass data = propertyCoder.decode(json, AES_ENCRYPTION_KEY, MyClass.class);
assertEquals("alpha", data.getPdpRestPass());
assertEquals("hello", data.servers.get(0).pass);
@@ -69,7 +69,7 @@ public class PropertyCoderTest {
}
@Test
- public void testPropertyCoderReader() throws CoderException {
+ public void testPropertyCoderReader() {
Reader reader = new StringReader(json);
MyClass data = propertyCoder.decode(reader, AES_ENCRYPTION_KEY, MyClass.class);
assertEquals("alpha", data.getPdpRestPass());