mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-28 04:59:10 +00:00
Align with Framework's deprecation of getLastModified
See gh-27160
This commit is contained in:
+1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user