summaryrefslogtreecommitdiffstats
path: root/ecomp-sdk/epsdk-music/src
diff options
context:
space:
mode:
authorburdziak <olaf.burdziakowski@nokia.com>2019-07-08 15:06:34 +0200
committerburdziak <olaf.burdziakowski@nokia.com>2019-07-08 15:06:34 +0200
commit6a9abb9d40bf19f26c7d9482d9b91a70619f909a (patch)
treecf1d21610094f5b71a2830b5b0e8a598c8ff1499 /ecomp-sdk/epsdk-music/src
parent179ff1eb0c1ac9eef4d152c47df5cb12a4584c0f (diff)
Fix sonar issues in MusicUtil
Change-Id: I644422502f7acaff394224dcf8119c7c0462c9dd Issue-ID: PORTAL-523 Signed-off-by: burdziak <olaf.burdziakowski@nokia.com>
Diffstat (limited to 'ecomp-sdk/epsdk-music/src')
-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)){