diff options
author | Taka <tc012c@att.com> | 2018-01-18 11:51:47 -0500 |
---|---|---|
committer | Patrick Brady <pb071s@att.com> | 2018-01-18 21:20:50 +0000 |
commit | 1f254c086efdf6e9d451c4712a44bce0932c67ea (patch) | |
tree | f43d6acde0acccbe7f96bd4807671f3ca0253618 /appc-adapters/appc-netconf-adapter/appc-netconf-adapter-bundle | |
parent | 4764c0e887cbf3a72ef4f261fbd57d2b00786771 (diff) |
fixed some Sonar critical issues
Change-Id: I9dfe73a45b43919ff7b01ab3217d957a40ac2018
Issue-ID: APPC-408
Signed-off-by: Taka <tc012c@att.com>
Diffstat (limited to 'appc-adapters/appc-netconf-adapter/appc-netconf-adapter-bundle')
3 files changed, 5 insertions, 0 deletions
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/"; |