aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSandeep J <sandeejh@in.ibm.com>2019-01-11 11:10:25 +0530
committerSandeep J <sandeejh@in.ibm.com>2019-01-11 11:11:24 +0530
commita4fe2f2cb76b373d473c52f2e61ca8ccfaf82536 (patch)
tree488c45f5f232fb31f884cd25aabf3f688ccb3f50 /src
parent366337b206ee8fbc0da8fcabc44ca2f34ccaeab9 (diff)
fixed sonar issue in ZNodeName.java
fixed sonar issue Issue-ID: MUSIC-182 Change-Id: I5079c24e9f9342e2e6634e066c51c8eb0a03207b Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
Diffstat (limited to 'src')
-rw-r--r--src/main/java/org/onap/music/lockingservice/ZNodeName.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/java/org/onap/music/lockingservice/ZNodeName.java b/src/main/java/org/onap/music/lockingservice/ZNodeName.java
index 0c190f14..f4971e11 100644
--- a/src/main/java/org/onap/music/lockingservice/ZNodeName.java
+++ b/src/main/java/org/onap/music/lockingservice/ZNodeName.java
@@ -4,6 +4,8 @@
* ===================================================================
* Copyright (c) 2017 AT&T Intellectual Property
* ===================================================================
+ * Modifications Copyright (c) 2018 IBM
+ * ===================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
@@ -59,7 +61,7 @@ class ZNodeName implements Comparable<ZNodeName> {
@Override
public String toString() {
- return name.toString();
+ return name;
}
@Override