playframework/playframework — pull request #2405 by kriyeta (2014-02-23 08:18:26+00:00)
Title: Update JavaBodyParsers.md

Hi,
public static Result save() {
RequestBody body = request().body();
String textBody = body.asText();

if(textBody != null) {
ok("Got: " + text);
} else {
badRequest("Expecting text/plain request body");
}
}

in this code, text should be textBody as text is not declared.
second thing no returns are added before ok() and badRequest()
So please merge these changes.
thanks