Skip to content

Commit 1341ca9

Browse files
committed
Align with Framework's deprecation of getLastModified
See gh-27160
1 parent 2354dd5 commit 1341ca9

File tree

1 file changed

+1
-0
lines changed
  • spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/web/servlet

1 file changed

+1
-0
lines changed

spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/web/servlet/CompositeHandlerAdapter.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ public ModelAndView handle(HttpServletRequest request, HttpServletResponse respo
6161
}
6262

6363
@Override
64+
@Deprecated
6465
public long getLastModified(HttpServletRequest request, Object handler) {
6566
Optional<HandlerAdapter> adapter = getAdapter(handler);
6667
return adapter.map((handlerAdapter) -> handlerAdapter.getLastModified(request, handler)).orElse(0L);

0 commit comments

Comments
 (0)