aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java
diff options
context:
space:
mode:
authorBharath Balasubramanian <bharathb@research.att.com>2018-09-05 23:06:59 +0000
committerGerrit Code Review <gerrit@onap.org>2018-09-05 23:06:59 +0000
commita08d06d0ee36d4ee1e9a2b7e2634bb25fcb36ebb (patch)
tree21c7bbcc476b291078f9d24f81da9c23ed911b78 /src/main/java
parentcaf9e81ff1b830312681a58b5a752e13ee3d04eb (diff)
parent95bc96437e81f65199bddd7516dc519f33a099f2 (diff)
Merge "Move string literal to left of string comparison"
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/org/onap/music/main/MusicCore.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/onap/music/main/MusicCore.java b/src/main/java/org/onap/music/main/MusicCore.java
index aaaeae34..9f7b060b 100644
--- a/src/main/java/org/onap/music/main/MusicCore.java
+++ b/src/main/java/org/onap/music/main/MusicCore.java
@@ -125,7 +125,7 @@ public class MusicCore {
long start = System.currentTimeMillis();
if (mDstoreHandle == null) {
// Quick Fix - Best to put this into every call to getDSHandle?
- if (! MusicUtil.getMyCassaHost().equals("localhost") ) {
+ if (! "localhost".equals(MusicUtil.getMyCassaHost())) {
mDstoreHandle = new MusicDataStore(MusicUtil.getMyCassaHost());
} else {
mDstoreHandle = new MusicDataStore();