Permalink
Browse files

Rename TextMessage#getMessage to #getText

  • Loading branch information...
1 parent 9e4ea25 commit 50e5cc7b2d0e7a3a1afb92bcf9b7c96648034843 @martin-g committed Jun 20, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/scala/org/apache/wicket/websocket/jetty/example/WebSocketDemo.scala
@@ -49,7 +49,7 @@ class WebSocketDemo extends WebPage {
*/
override protected def onMessage(handler: WebSocketRequestHandler, data: TextMessage)
{
- getSession.info("You typed: " + data.getMessage)
+ getSession.info("You typed: " + data.getText)
handler.add(feedback)
handler.push("A message pushed by the server via WebSocketRequestHandler!")
}

0 comments on commit 50e5cc7

Please sign in to comment.