diff options
author | 2018-05-04 21:36:44 +0000 | |
---|---|---|
committer | 2018-05-04 21:36:44 +0000 | |
commit | 3bf54a070dabf39a9fff87b1b5d56feb4978b340 (patch) | |
tree | 59aaab35d97bb24afecb2a71861cd6e239603829 /ecomp-sdk/epsdk-music/src/main/java/org/onap/portalapp/music/util/MusicUtil.java | |
parent | 6874c0043e721655868e9486c693a0c7bf9dc274 (diff) | |
parent | 95af4009b19a16a949d9e5b2ba782119f8ff41b5 (diff) |
Merge "Music version upgrade"
Diffstat (limited to 'ecomp-sdk/epsdk-music/src/main/java/org/onap/portalapp/music/util/MusicUtil.java')
-rw-r--r-- | ecomp-sdk/epsdk-music/src/main/java/org/onap/portalapp/music/util/MusicUtil.java | 6 |
1 files changed, 5 insertions, 1 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 ff1edb74..d7de16bd 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 @@ -144,7 +144,11 @@ public class MusicUtil { public static boolean isExcludedApi(String api){ Set<String> excludedApiSet = getMusicExcludedAPI(); - return excludedApiSet.contains(api); + for(String str: excludedApiSet){ + if(api.matches(str)) + return true; + } + return false; } public static boolean isMusicSerializeCompress(){ |