summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2018-12-19 00:34:41 +0000
committerGerrit Code Review <gerrit@onap.org>2018-12-19 00:34:41 +0000
commit9eeae2fc1ca5fa3db7f6b44d1becca50eced40a6 (patch)
tree6a112c2bc54733106061ff986ee1172a9d9fb1cb
parent9869ade561f0a481d277eed136510c65869b6ba1 (diff)
parentb2e9585b4343f8f570ef422f9fec4a1f96c8c786 (diff)
Merge "Fixed sonar issue in ResourceLockedException.java"
-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;