Sonar Fix: ReleaseFunction.java 76/75176/1
authorArundathi Patil <arundpil@in.ibm.com>
Wed, 2 Jan 2019 10:36:42 +0000 (16:06 +0530)
committerIBM602-PC0F1E3C\Arundathi <arundpil@in.ibm.com>
Wed, 2 Jan 2019 10:36:53 +0000 (16:06 +0530)
Fixed sonar issues/code smells across thsi file

Issue-ID: CCSDK-888
Change-Id: I9748106bc5b09c342beb68df96860984722eb7d1
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
resource-assignment/provider/src/main/java/org/onap/ccsdk/sli/adaptors/rm/comp/ReleaseFunction.java

index 1764184..b26c54c 100644 (file)
@@ -4,6 +4,7 @@
  * ================================================================================
  * Copyright (C) 2017 AT&T Intellectual Property. All rights
  *                         reserved.
+ * Modifications Copyright © 2018 IBM.
  * ================================================================================
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -41,7 +42,9 @@ class ReleaseFunction extends SynchronizedFunction {
 
     private ResourceDao resourceDao;
 
-    private String resourceSetId, resourceUnionId, assetId;
+    private String resourceSetId;
+    private String resourceUnionId;
+    private String assetId;
 
     public ReleaseFunction(LockHelper lockHelper, ResourceDao resourceDao, String resourceSetId, String resourceUnionId,
             String assetId, Collection<String> lockNames, int lockTimeout) {