Browse Source

minor fix.

pull/7/head
Arjen Poutsma 14 years ago
parent
commit
1bbdb0d2ff
  1. 1
      org.springframework.web.servlet/src/main/java/org/springframework/web/servlet/mvc/method/annotation/support/AbstractMessageConverterMethodProcessor.java

1
org.springframework.web.servlet/src/main/java/org/springframework/web/servlet/mvc/method/annotation/support/AbstractMessageConverterMethodProcessor.java

@ -158,6 +158,7 @@ public abstract class AbstractMessageConverterMethodProcessor @@ -158,6 +158,7 @@ public abstract class AbstractMessageConverterMethodProcessor
}
else if (mediaType.equals(MediaType.ALL) || mediaType.equals(MEDIA_TYPE_APPLICATION)) {
selectedMediaType = MediaType.APPLICATION_OCTET_STREAM;
break;
}
}
if (selectedMediaType != null) {

Loading…
Cancel
Save