From b2e9585b4343f8f570ef422f9fec4a1f96c8c786 Mon Sep 17 00:00:00 2001 From: ezhil Date: Tue, 18 Dec 2018 15:17:07 +0530 Subject: Fixed sonar issue in ResourceLockedException.java Fixed major sonar issue Issue-ID: CCSDK-834 Change-Id: Ifeb52731e712d1459f3922008fcf65161bda0dd3 Signed-off-by: ezhil --- .../onap/ccsdk/sli/adaptors/lock/comp/ResourceLockedException.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'resource-assignment/provider/src/main/java') 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 4b90b265e..f503332cc 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; -- cgit 1.2.3-korg