Fix typo in Javadoc for UnsupportedMediaTypeStatusException

Response status 415 (unsupported media type) reported as of 416 (which is Range Not Satisfiable), mismatching with superclass constructor parameter HttpStatus.UNSUPPORTED_MEDIA_TYPE
This commit is contained in:
Francesco Komauli
2018-11-29 16:36:56 +01:00
committed by Sam Brannen
parent dfc193b85e
commit 66f822e600

View File

@@ -25,7 +25,7 @@ import org.springframework.http.MediaType;
import org.springframework.lang.Nullable;
/**
* Exception for errors that fit response status 416 (unsupported media type).
* Exception for errors that fit response status 415 (unsupported media type).
*
* @author Rossen Stoyanchev
* @since 5.0