DATAREST-1390 - Remove temporary workaround after upgrade to Spring 5.2 M3.

This reverts commit 8ce25f7918.
This commit is contained in:
Oliver Drotbohm
2019-06-14 01:29:52 +02:00
parent 9080950695
commit b84aa1779c

View File

@@ -109,9 +109,6 @@ public class BasePathAwareHandlerMapping extends RequestMappingHandlerMapping {
mediaTypes.add(configuration.getDefaultMediaType());
}
// DATAREST-1390 - Temporary workaround
request.setAttribute(ProducesRequestCondition.class.getName() + ".MEDIA_TYPES", mediaTypes);
return super.lookupHandlerMethod(lookupPath, new CustomAcceptHeaderHttpServletRequest(request, mediaTypes));
}