summaryrefslogtreecommitdiffstats
path: root/music-rest
diff options
context:
space:
mode:
authorRupinder <rupinsi1@in.ibm.com>2020-04-06 18:58:23 +0530
committerRupinder <rupinsi1@in.ibm.com>2020-04-06 18:58:35 +0530
commit10d74ffbf1feb6eab011773cfe091f8610d7e736 (patch)
treeb2d03e87465145d77f2bbcc4523b7ac0e71c36af /music-rest
parente3512a896259129c976695dd83e8363d08ba7c63 (diff)
removed code smells
Removed some unused imports and 2 statments from one line Issue-ID: PORTAL-869 Change-Id: I99f97a7a7c16a4ff2d28c40cfd88546dfe799a29 Signed-off-by: Rupindewr<rupinsi1@in.ibm.com>
Diffstat (limited to 'music-rest')
-rwxr-xr-xmusic-rest/src/main/java/org/onap/music/rest/RestMusicQAPI.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/music-rest/src/main/java/org/onap/music/rest/RestMusicQAPI.java b/music-rest/src/main/java/org/onap/music/rest/RestMusicQAPI.java
index 4def0e45..63b72cda 100755
--- a/music-rest/src/main/java/org/onap/music/rest/RestMusicQAPI.java
+++ b/music-rest/src/main/java/org/onap/music/rest/RestMusicQAPI.java
@@ -174,9 +174,11 @@ public class RestMusicQAPI {
clusteringKey=clusteringKey.replaceAll("[\\(]+","");
clusteringKey=clusteringKey.replaceAll("[\\)]+","");
clusteringKey = clusteringKey.trim();
- if (clusteringKey.indexOf(',') == 0) clusteringKey=clusteringKey.substring(1);
+ if (clusteringKey.indexOf(',') == 0)
+ clusteringKey=clusteringKey.substring(1);
clusteringKey = clusteringKey.trim();
- if (clusteringKey.equals(",") ) clusteringKey=""; // print error if needed ( ... ),)
+ if (clusteringKey.equals(",") )
+ clusteringKey=""; // print error if needed ( ... ),)
}
}