Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Bug 568 - Websockets: Test & fix data change notifications
[controller.git]
/
opendaylight
/
md-sal
/
sal-rest-connector
/
src
/
test
/
java
/
org
/
opendaylight
/
controller
/
sal
/
restconf
/
impl
/
websockets
/
client
/
WebSocketClient.java
diff --git
a/opendaylight/md-sal/sal-rest-connector/src/test/java/org/opendaylight/controller/sal/restconf/impl/websockets/client/WebSocketClient.java
b/opendaylight/md-sal/sal-rest-connector/src/test/java/org/opendaylight/controller/sal/restconf/impl/websockets/client/WebSocketClient.java
index 664aad6578c84fab98a3e569d00fa93dd3a1ee8d..bc915d0c86ddca2cc6959caec61f30a2a3ed92c1 100644
(file)
--- a/
opendaylight/md-sal/sal-rest-connector/src/test/java/org/opendaylight/controller/sal/restconf/impl/websockets/client/WebSocketClient.java
+++ b/
opendaylight/md-sal/sal-rest-connector/src/test/java/org/opendaylight/controller/sal/restconf/impl/websockets/client/WebSocketClient.java
@@
-54,7
+54,7
@@
public class WebSocketClient {
private void initialize() {
String protocol = uri.getScheme();
- if (!"
http
".equals(protocol)) {
+ if (!"
ws
".equals(protocol)) {
throw new IllegalArgumentException("Unsupported protocol: " + protocol);
}