Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "Add MD-SAL artifacts"
[controller.git]
/
opendaylight
/
netconf
/
netconf-util
/
src
/
main
/
java
/
org
/
opendaylight
/
controller
/
netconf
/
util
/
NetconfUtil.java
diff --git
a/opendaylight/netconf/netconf-util/src/main/java/org/opendaylight/controller/netconf/util/NetconfUtil.java
b/opendaylight/netconf/netconf-util/src/main/java/org/opendaylight/controller/netconf/util/NetconfUtil.java
index 640596d93078b86b356bc18c19d318bab89a62c6..5fd53dce55639e0b5c8a811e11ab4b7b2a637117 100644
(file)
--- a/
opendaylight/netconf/netconf-util/src/main/java/org/opendaylight/controller/netconf/util/NetconfUtil.java
+++ b/
opendaylight/netconf/netconf-util/src/main/java/org/opendaylight/controller/netconf/util/NetconfUtil.java
@@
-9,8
+9,8
@@
package org.opendaylight.controller.netconf.util;
import com.google.common.base.Preconditions;
import org.opendaylight.controller.netconf.api.NetconfDocumentedException;
import com.google.common.base.Preconditions;
import org.opendaylight.controller.netconf.api.NetconfDocumentedException;
+import org.opendaylight.controller.netconf.api.xml.XmlNetconfConstants;
import org.opendaylight.controller.netconf.util.xml.XmlElement;
import org.opendaylight.controller.netconf.util.xml.XmlElement;
-import org.opendaylight.controller.netconf.util.xml.XmlNetconfConstants;
import org.opendaylight.controller.netconf.util.xml.XmlUtil;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.opendaylight.controller.netconf.util.xml.XmlUtil;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@@
-18,7
+18,7
@@
import org.w3c.dom.Document;
public final class NetconfUtil {
public final class NetconfUtil {
- private static final Logger
logger
= LoggerFactory.getLogger(NetconfUtil.class);
+ private static final Logger
LOG
= LoggerFactory.getLogger(NetconfUtil.class);
private NetconfUtil() {}
private NetconfUtil() {}
@@
-29,7
+29,7
@@
public final class NetconfUtil {
if (element.getName().equals(XmlNetconfConstants.OK)) {
return response;
}
if (element.getName().equals(XmlNetconfConstants.OK)) {
return response;
}
-
logger
.warn("Can not load last configuration. Operation failed.");
+
LOG
.warn("Can not load last configuration. Operation failed.");
throw new IllegalStateException("Can not load last configuration. Operation failed: "
+ XmlUtil.toString(response));
}
throw new IllegalStateException("Can not load last configuration. Operation failed: "
+ XmlUtil.toString(response));
}