diff options
author | Parshad Patel <pars.patel@samsung.com> | 2018-08-22 11:09:49 +0900 |
---|---|---|
committer | Parshad Patel <pars.patel@samsung.com> | 2018-08-23 13:09:54 +0900 |
commit | 718ebdc7cab68315bfa9d622d3b6932221920dee (patch) | |
tree | cb247f5928ce701099fb1fb9e98b3675d70cd80d /aai-core/src/test/java | |
parent | 3b0d3167a2ad458bbe59e0f703b40ef4f4976424 (diff) |
Fix sonar issues
Fix use try-with-resources issues
Issue-ID: AAI-1368
Change-Id: I267df61915ac1596cc8645c62ccf43eb04fd7ac5
Signed-off-by: Parshad Patel <pars.patel@samsung.com>
Diffstat (limited to 'aai-core/src/test/java')
-rw-r--r-- | aai-core/src/test/java/org/onap/aai/util/PojoUtilsTest.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/aai-core/src/test/java/org/onap/aai/util/PojoUtilsTest.java b/aai-core/src/test/java/org/onap/aai/util/PojoUtilsTest.java index 3658704e..35065fd5 100644 --- a/aai-core/src/test/java/org/onap/aai/util/PojoUtilsTest.java +++ b/aai-core/src/test/java/org/onap/aai/util/PojoUtilsTest.java @@ -23,6 +23,7 @@ import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; +import java.io.IOException; import java.time.LocalDateTime; import java.time.Month; import java.util.ArrayList; @@ -159,7 +160,7 @@ public class PojoUtilsTest { } @Test - public void testGetXmlFromObject() throws JAXBException { + public void testGetXmlFromObject() throws JAXBException, IOException { NotificationEvent notificationEvent = new NotificationEvent(); notificationEvent.setCambriaPartition("partition"); |