From 208658c5ecaa1f932de6b50eee0647c59dfb1389 Mon Sep 17 00:00:00 2001 From: Arundathi Patil Date: Wed, 2 Jan 2019 16:06:42 +0530 Subject: Sonar Fix: ReleaseFunction.java Fixed sonar issues/code smells across thsi file Issue-ID: CCSDK-888 Change-Id: I9748106bc5b09c342beb68df96860984722eb7d1 Signed-off-by: Arundathi Patil --- .../java/org/onap/ccsdk/sli/adaptors/rm/comp/ReleaseFunction.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/resource-assignment/provider/src/main/java/org/onap/ccsdk/sli/adaptors/rm/comp/ReleaseFunction.java b/resource-assignment/provider/src/main/java/org/onap/ccsdk/sli/adaptors/rm/comp/ReleaseFunction.java index 17641845f..b26c54cfa 100644 --- a/resource-assignment/provider/src/main/java/org/onap/ccsdk/sli/adaptors/rm/comp/ReleaseFunction.java +++ b/resource-assignment/provider/src/main/java/org/onap/ccsdk/sli/adaptors/rm/comp/ReleaseFunction.java @@ -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 lockNames, int lockTimeout) { -- cgit 1.2.3-korg