pull/3320/head
Stephane Nicoll 10 years ago
parent 117d6b0da3
commit 1d66aa35ed

@ -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;
}
}

Loading…
Cancel
Save