summaryrefslogtreecommitdiffstats
path: root/ecomp-sdk
diff options
context:
space:
mode:
Diffstat (limited to 'ecomp-sdk')
-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)){