Merge pull request #14501 from yongsungjeon:develop

* pr/14501:
  Use constant for produces attribute
pull/14505/merge
Stephane Nicoll 6 years ago
commit b4146060a0

@ -82,7 +82,7 @@ public class BasicErrorController extends AbstractErrorController {
return this.errorProperties.getPath();
}
@RequestMapping(produces = "text/html")
@RequestMapping(produces = MediaType.TEXT_HTML_VALUE)
public ModelAndView errorHtml(HttpServletRequest request,
HttpServletResponse response) {
HttpStatus status = getStatus(request);

Loading…
Cancel
Save