summaryrefslogtreecommitdiffstats
path: root/asdcApi/provider
diff options
context:
space:
mode:
authorSRINIVAS V <srinivasa.mohan@huawei.com>2018-01-06 22:37:33 +0530
committerSRINIVAS V <srinivasa.mohan@huawei.com>2018-01-06 22:39:59 +0530
commitef57280a782d3d009bcaa2481c9f26b2b7e1b877 (patch)
tree1d2fe643903211c0526909861d357029d30fb314 /asdcApi/provider
parent477fa7f6a778173e15aaf3cb2f795cdbec85e13a (diff)
Fixed as per Java Code Conventions
*Removed the commented code of addParameter function *Code optimized Change-Id: Ibd711561d1f94854df464d6e94de6ef2fc8b6cd6 Issue-ID: CCSDK-151 Signed-off-by: SRINIVAS V <srinivasa.mohan@huawei.com>
Diffstat (limited to 'asdcApi/provider')
-rw-r--r--asdcApi/provider/src/main/java/org/onap/ccsdk/sli/northbound/asdcapi/AsdcApiProvider.java6
1 files changed, 1 insertions, 5 deletions
diff --git a/asdcApi/provider/src/main/java/org/onap/ccsdk/sli/northbound/asdcapi/AsdcApiProvider.java b/asdcApi/provider/src/main/java/org/onap/ccsdk/sli/northbound/asdcapi/AsdcApiProvider.java
index 7f830bcc8..0c2ce2fc2 100644
--- a/asdcApi/provider/src/main/java/org/onap/ccsdk/sli/northbound/asdcapi/AsdcApiProvider.java
+++ b/asdcApi/provider/src/main/java/org/onap/ccsdk/sli/northbound/asdcapi/AsdcApiProvider.java
@@ -189,11 +189,7 @@ public class AsdcApiProvider implements AutoCloseable, ASDCAPIService {
}
- if (data.isPresent()) {
- return true;
- } else {
- return false;
- }
+ return data.isPresent();
}
protected void addArtifactVersion(String aName, String aVersion) {