This commit is contained in:
Stephane Nicoll 2015-06-24 15:20:20 +02:00
parent 117d6b0da3
commit 1d66aa35ed
1 changed files with 2 additions and 2 deletions

View File

@ -118,8 +118,8 @@ public class HttpMessageConverters implements Iterable<HttpMessageConverter<?>>
private boolean isReplacement(HttpMessageConverter<?> defaultConverter,
HttpMessageConverter<?> candidate) {
for (Class<?> nonRelacingConverter : NON_REPLACING_CONVERTERS) {
if (nonRelacingConverter.isInstance(candidate)) {
for (Class<?> nonReplacingConverter : NON_REPLACING_CONVERTERS) {
if (nonReplacingConverter.isInstance(candidate)) {
return false;
}
}