Skip to content

Commit

Permalink
Fix a bug in a test
Browse files Browse the repository at this point in the history
  • Loading branch information
Keesun Baik committed Jun 20, 2013
1 parent 7e1caf3 commit 44b0a64
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions samples/tests/SendingAndReceivingEvents.java
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ public void handle(JsonObject event) {
}
});

socket.on("broadcast", new Handler<JsonObject>() {
socket.on("volatile", new Handler<JsonObject>() {
public void handle(JsonObject event) {
socket.volatilize().emit("broadcast", new JsonObject().putString("msg", "hello"));
socket.volatilize().emit("volatile", new JsonObject().putString("msg", "hello"));
}
});

Expand Down

0 comments on commit 44b0a64

Please sign in to comment.