Update unprocessableEntity to allow body

Issue: SPR-12515
This commit is contained in:
Rossen Stoyanchev
2014-12-08 16:19:14 -05:00
parent 33fca4e7ae
commit 0524a82c09
2 changed files with 3 additions and 3 deletions

View File

@@ -252,7 +252,7 @@ public class ResponseEntity<T> extends HttpEntity<T> {
* @return the created builder
* @since 4.1.3
*/
public static HeadersBuilder<?> unprocessableEntity() {
public static BodyBuilder unprocessableEntity() {
return status(HttpStatus.UNPROCESSABLE_ENTITY);
}