[OLINGO-659] Fix TechnicalActionProcessor
This commit is contained in:
parent
cffdb7384c
commit
32bad834f1
|
@ -335,8 +335,8 @@ public class TechnicalActionProcessor extends TechnicalProcessor
|
||||||
response.setStatusCode(HttpStatusCode.NO_CONTENT.getStatusCode());
|
response.setStatusCode(HttpStatusCode.NO_CONTENT.getStatusCode());
|
||||||
}
|
}
|
||||||
|
|
||||||
private Map<String, Parameter> readParameters(final EdmAction action, final InputStream body, final ContentType requestFormat)
|
private Map<String, Parameter> readParameters(final EdmAction action, final InputStream body,
|
||||||
throws ODataApplicationException, DeserializerException {
|
final ContentType requestFormat) throws ODataApplicationException, DeserializerException {
|
||||||
if (action.getParameterNames().size() - (action.isBound() ? 1 : 0) > 0) {
|
if (action.getParameterNames().size() - (action.isBound() ? 1 : 0) > 0) {
|
||||||
checkRequestFormat(requestFormat);
|
checkRequestFormat(requestFormat);
|
||||||
return odata.createDeserializer(requestFormat).actionParameters(body, action).getActionParameters();
|
return odata.createDeserializer(requestFormat).actionParameters(body, action).getActionParameters();
|
||||||
|
|
Loading…
Reference in New Issue