summaryrefslogtreecommitdiffstats
path: root/dataChange/provider/src/main/java
diff options
context:
space:
mode:
authorArundathi Patil <arundpil@in.ibm.com>2018-12-18 15:07:22 +0530
committerIBM602-PC0F1E3C\Arundathi <arundpil@in.ibm.com>2018-12-18 15:07:34 +0530
commit0dad402fd01d72c76235d8a8c1d9b256e9de5042 (patch)
treedbe10b6dc2199c7fa82540623af6083eb05cb75a /dataChange/provider/src/main/java
parentbd4146f039fcf0377246bce0ef6ee93c24ea26dc (diff)
Sonar fix: DataChangeProvider.java
Fixed sonar issues/code-smells across this file Issue-ID: CCSDK-852 Change-Id: I73630a11c44105996ed677f7eabb6ea3ffcc501d Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
Diffstat (limited to 'dataChange/provider/src/main/java')
-rw-r--r--dataChange/provider/src/main/java/org/onap/ccsdk/sli/northbound/DataChangeProvider.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/dataChange/provider/src/main/java/org/onap/ccsdk/sli/northbound/DataChangeProvider.java b/dataChange/provider/src/main/java/org/onap/ccsdk/sli/northbound/DataChangeProvider.java
index 40ebde69a..6b4f1ebca 100644
--- a/dataChange/provider/src/main/java/org/onap/ccsdk/sli/northbound/DataChangeProvider.java
+++ b/dataChange/provider/src/main/java/org/onap/ccsdk/sli/northbound/DataChangeProvider.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.
@@ -30,7 +31,6 @@ import org.onap.ccsdk.sli.core.sli.provider.MdsalHelper;
import org.opendaylight.controller.md.sal.binding.api.DataBroker;
import org.opendaylight.controller.md.sal.binding.api.NotificationPublishService;
import org.opendaylight.controller.sal.binding.api.BindingAwareBroker;
-import org.opendaylight.controller.sal.binding.api.NotificationProviderService;
import org.opendaylight.controller.sal.binding.api.RpcProviderRegistry;
import org.opendaylight.yang.gen.v1.org.onap.ccsdk.sli.northbound.datachange.rev150519.DataChangeNotificationInput;
import org.opendaylight.yang.gen.v1.org.onap.ccsdk.sli.northbound.datachange.rev150519.DataChangeNotificationInputBuilder;
@@ -123,7 +123,7 @@ public class DataChangeProvider implements AutoCloseable, DataChangeService {
// Call SLI sync method
try
{
- if (dataChangeClient.hasGraph("DataChange", svcOperation , null, "sync"))
+ if (dataChangeClient.hasGraph(APPLICATION_NAME, svcOperation , null, "sync"))
{
try
{