Align with Framework's deprecation of getLastModified

See gh-27160
pull/27348/head
Andy Wilkinson 3 years ago
parent 2354dd5ccb
commit 1341ca99db

@ -61,6 +61,7 @@ class CompositeHandlerAdapter implements HandlerAdapter {
}
@Override
@Deprecated
public long getLastModified(HttpServletRequest request, Object handler) {
Optional<HandlerAdapter> adapter = getAdapter(handler);
return adapter.map((handlerAdapter) -> handlerAdapter.getLastModified(request, handler)).orElse(0L);

Loading…
Cancel
Save