aboutsummaryrefslogtreecommitdiffstats
path: root/resource-assignment/provider/src
diff options
context:
space:
mode:
authorezhil <ezhrajam@in.ibm.com>2018-12-18 15:17:07 +0530
committerezhil <ezhrajam@in.ibm.com>2018-12-18 15:18:18 +0530
commitb2e9585b4343f8f570ef422f9fec4a1f96c8c786 (patch)
tree1915e4c4a8507da6b02b46139f08eb30cb4d01fa /resource-assignment/provider/src
parentce68f67d008c292f36d440f2dc473ba23d673fce (diff)
Fixed sonar issue in ResourceLockedException.java
Fixed major sonar issue Issue-ID: CCSDK-834 Change-Id: Ifeb52731e712d1459f3922008fcf65161bda0dd3 Signed-off-by: ezhil <ezhrajam@in.ibm.com>
Diffstat (limited to 'resource-assignment/provider/src')
-rw-r--r--resource-assignment/provider/src/main/java/org/onap/ccsdk/sli/adaptors/lock/comp/ResourceLockedException.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/resource-assignment/provider/src/main/java/org/onap/ccsdk/sli/adaptors/lock/comp/ResourceLockedException.java b/resource-assignment/provider/src/main/java/org/onap/ccsdk/sli/adaptors/lock/comp/ResourceLockedException.java
index 4b90b265..f503332c 100644
--- a/resource-assignment/provider/src/main/java/org/onap/ccsdk/sli/adaptors/lock/comp/ResourceLockedException.java
+++ b/resource-assignment/provider/src/main/java/org/onap/ccsdk/sli/adaptors/lock/comp/ResourceLockedException.java
@@ -25,7 +25,9 @@ public class ResourceLockedException extends RuntimeException {
private static final long serialVersionUID = 1L;
- private String lockName, lockHolder, lockRequester;
+ private final String lockName;
+ private final String lockHolder;
+ private final String lockRequester;
public ResourceLockedException(String lockName, String lockHolder, String lockRequester) {
this.lockName = lockName;