Permalink
Browse files

fix README

  • Loading branch information...
mikebrock committed May 14, 2012
1 parent e8aac18 commit 48d00d1be0f044402e96648e6f7f65ca4a6b10c2
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.md
View
@@ -46,7 +46,7 @@ Example Implementation:
if (frame instanceof TextFrame) {
final String text = ((TextFrame) frame).getText();
if ("Hello".equals(text)) {
- socket.writeFrame(new TextFrame("Hey, there!"));
+ socket.writeFrame(TextFrame.from("Hey, there!"));
}
}
}

0 comments on commit 48d00d1

Please sign in to comment.