[WEBSOCKET_SPEC-123] Invalid Code provided in section 2.1.4. Sending Messages Created: 27/Jan/13  Updated: 28/Jan/13  Resolved: 28/Jan/13

Status: Resolved
Project: websocket-spec
Component/s: None
Affects Version/s: 1.0
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Mohamed Taman Assignee: dannycoward
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Tags: adoptajsr, v012


In section 2.1.4. Sending Messages

There was a mistake in the following code

The second using only the annotations in the API:-
public class MyHelloServer {
public String doListen(String message) {
return "Got your message (" + text + "). Thanks !";

The line"return "Got your message (" + text + "). Thanks !";"

Should be "return "Got your message (" + message + "). Thanks !";"

Comment by dannycoward [ 28/Jan/13 ]

Thankyou for reporting this ! I have fixed the error in the upcoming v012 draft.

Generated at Sun Apr 30 14:19:54 UTC 2017 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.