dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #30900
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 15711: minor fix to RenderServiceMessageConverter, we should not override canRead, since it's already ta...
------------------------------------------------------------
revno: 15711
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2014-06-17 09:49:22 +0200
message:
minor fix to RenderServiceMessageConverter, we should not override canRead, since it's already taken care of by AbstractHttpMessageConverter
modified:
dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/webapi/utils/RenderServiceMessageConverter.java
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/webapi/utils/RenderServiceMessageConverter.java'
--- dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/webapi/utils/RenderServiceMessageConverter.java 2014-06-15 09:24:05 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/webapi/utils/RenderServiceMessageConverter.java 2014-06-17 07:49:22 +0000
@@ -87,12 +87,6 @@
}
@Override
- protected boolean canRead( MediaType mediaType )
- {
- return true;
- }
-
- @Override
protected Object readInternal( Class<?> clazz, HttpInputMessage inputMessage ) throws IOException, HttpMessageNotReadableException
{
MediaType mediaType = inputMessage.getHeaders().getContentType();