Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Switch testing configuration for md-sal tests to xml.
[controller.git]
/
opendaylight
/
netconf
/
netconf-client
/
src
/
main
/
java
/
org
/
opendaylight
/
controller
/
netconf
/
client
/
NetconfClientSessionNegotiator.java
diff --git
a/opendaylight/netconf/netconf-client/src/main/java/org/opendaylight/controller/netconf/client/NetconfClientSessionNegotiator.java
b/opendaylight/netconf/netconf-client/src/main/java/org/opendaylight/controller/netconf/client/NetconfClientSessionNegotiator.java
index 3340dde883f09cfb077c6c1dcc6b6ea1b0ca8592..dd8e3c9664588bf5350ad48ec1c1bfdc2b480b60 100644
(file)
--- a/
opendaylight/netconf/netconf-client/src/main/java/org/opendaylight/controller/netconf/client/NetconfClientSessionNegotiator.java
+++ b/
opendaylight/netconf/netconf-client/src/main/java/org/opendaylight/controller/netconf/client/NetconfClientSessionNegotiator.java
@@
-48,7
+48,8
@@
public class NetconfClientSessionNegotiator extends
@Nullable
@Override
public String apply(@Nullable XmlElement input) {
- return input.getTextContent();
+ // Trim possible leading/tailing whitespace
+ return input.getTextContent().trim();
}
});
}