summaryrefslogtreecommitdiffstats
path: root/ecomp-sdk/epsdk-music/src/main/java/org
diff options
context:
space:
mode:
authorManoop Talasila <talasila@research.att.com>2019-07-09 15:17:07 +0000
committerGerrit Code Review <gerrit@onap.org>2019-07-09 15:17:07 +0000
commitcc2d5a7fb10681b7a8ab9789c70f0d3338e2e8f6 (patch)
tree9c2bfad2e3a37fc45c3ed84158dd186c24dd38f6 /ecomp-sdk/epsdk-music/src/main/java/org
parent85bcb7ccd7b7cae29364a5999a81523929c98f23 (diff)
parent6a9abb9d40bf19f26c7d9482d9b91a70619f909a (diff)
Merge "Fix sonar issues in MusicUtil"
Diffstat (limited to 'ecomp-sdk/epsdk-music/src/main/java/org')
-rw-r--r--ecomp-sdk/epsdk-music/src/main/java/org/onap/portalapp/music/util/MusicUtil.java11
1 files changed, 6 insertions, 5 deletions
diff --git a/ecomp-sdk/epsdk-music/src/main/java/org/onap/portalapp/music/util/MusicUtil.java b/ecomp-sdk/epsdk-music/src/main/java/org/onap/portalapp/music/util/MusicUtil.java
index 2e17d0c1..710a65ea 100644
--- a/ecomp-sdk/epsdk-music/src/main/java/org/onap/portalapp/music/util/MusicUtil.java
+++ b/ecomp-sdk/epsdk-music/src/main/java/org/onap/portalapp/music/util/MusicUtil.java
@@ -71,17 +71,18 @@ public class MusicUtil {
private static final String FAILED_2_READ_PROPERTY_FILE = "Failed to read property file ";
private static final String TRUE = "true";
- public static boolean isSessionMetaAttr(String key){
- return sessionAttrNameSet.contains(key);
- }
-
//hide public constructor
private MusicUtil()
{
}
+ public static boolean isSessionMetaAttr(String key){
+ return sessionAttrNameSet.contains(key);
+ }
+
@SuppressWarnings("unchecked")
- public static <T> T musicRestResponseDataParsing(ResultSet rs, String attributeName) throws Exception{
+ public static <T> T musicRestResponseDataParsing(ResultSet rs, String attributeName)
+ throws IOException, ClassNotFoundException {
logger.debug(EELFLoggerDelegate.debugLogger, "musicRestResponseDataParsing: start");
Row row = rs.one();
if(!sessionAttrNameSet.contains(attributeName)){