This commit is contained in:
Stephane Nicoll
2015-07-22 15:18:23 +02:00
parent 434f528e0a
commit 16dac01886

View File

@@ -34,7 +34,7 @@ import org.springframework.http.ResponseEntity;
*/
public interface MvcEndpoint {
public static final ResponseEntity<Map<String, String>> DISABLED_RESPONSE = new ResponseEntity<Map<String, String>>(
ResponseEntity<Map<String, String>> DISABLED_RESPONSE = new ResponseEntity<Map<String, String>>(
Collections.singletonMap("message", "This endpoint is disabled"),
HttpStatus.NOT_FOUND);