From 1f254c086efdf6e9d451c4712a44bce0932c67ea Mon Sep 17 00:00:00 2001 From: Taka Date: Thu, 18 Jan 2018 11:51:47 -0500 Subject: fixed some Sonar critical issues Change-Id: I9dfe73a45b43919ff7b01ab3217d957a40ac2018 Issue-ID: APPC-408 Signed-off-by: Taka --- .../org/onap/appc/adapter/netconf/exception/DataAccessException.java | 1 + .../org/onap/appc/adapter/netconf/exception/NetconfDAOException.java | 1 + .../src/main/java/org/onap/appc/adapter/netconf/util/Constants.java | 3 +++ 3 files changed, 5 insertions(+) (limited to 'appc-adapters/appc-netconf-adapter/appc-netconf-adapter-bundle/src') diff --git a/appc-adapters/appc-netconf-adapter/appc-netconf-adapter-bundle/src/main/java/org/onap/appc/adapter/netconf/exception/DataAccessException.java b/appc-adapters/appc-netconf-adapter/appc-netconf-adapter-bundle/src/main/java/org/onap/appc/adapter/netconf/exception/DataAccessException.java index 0c4964da0..390a30ea1 100644 --- a/appc-adapters/appc-netconf-adapter/appc-netconf-adapter-bundle/src/main/java/org/onap/appc/adapter/netconf/exception/DataAccessException.java +++ b/appc-adapters/appc-netconf-adapter/appc-netconf-adapter-bundle/src/main/java/org/onap/appc/adapter/netconf/exception/DataAccessException.java @@ -30,6 +30,7 @@ public class DataAccessException extends RuntimeException { private static final long serialVersionUID = -155423437162622414L; public DataAccessException(){ + // DataAccessException } public DataAccessException(String message){ diff --git a/appc-adapters/appc-netconf-adapter/appc-netconf-adapter-bundle/src/main/java/org/onap/appc/adapter/netconf/exception/NetconfDAOException.java b/appc-adapters/appc-netconf-adapter/appc-netconf-adapter-bundle/src/main/java/org/onap/appc/adapter/netconf/exception/NetconfDAOException.java index 5ff1a331e..dccab85a8 100644 --- a/appc-adapters/appc-netconf-adapter/appc-netconf-adapter-bundle/src/main/java/org/onap/appc/adapter/netconf/exception/NetconfDAOException.java +++ b/appc-adapters/appc-netconf-adapter/appc-netconf-adapter-bundle/src/main/java/org/onap/appc/adapter/netconf/exception/NetconfDAOException.java @@ -29,6 +29,7 @@ public class NetconfDAOException extends RuntimeException { private static final long serialVersionUID = -155423437162622414L; public NetconfDAOException(){ + // for NetconfDAOException } public NetconfDAOException(String message){ diff --git a/appc-adapters/appc-netconf-adapter/appc-netconf-adapter-bundle/src/main/java/org/onap/appc/adapter/netconf/util/Constants.java b/appc-adapters/appc-netconf-adapter/appc-netconf-adapter-bundle/src/main/java/org/onap/appc/adapter/netconf/util/Constants.java index e8b8e9378..86d175081 100644 --- a/appc-adapters/appc-netconf-adapter/appc-netconf-adapter-bundle/src/main/java/org/onap/appc/adapter/netconf/util/Constants.java +++ b/appc-adapters/appc-netconf-adapter/appc-netconf-adapter-bundle/src/main/java/org/onap/appc/adapter/netconf/util/Constants.java @@ -26,6 +26,9 @@ package org.onap.appc.adapter.netconf.util; public class Constants { + private Constants() { + } + public static final String CONFIGURE_PATH = "/restconf/config/opendaylight-inventory:nodes/node/"; public static final String CONNECT_PATH = "/restconf/config/opendaylight-inventory:nodes/node/controller-config/yang-ext:mount/config:modules"; public static final String CHECK_CONNECTION_PATH = "/restconf/operational/opendaylight-inventory:nodes/node/"; -- cgit 1.2.3-korg