Migrate removed LastModified support
ProprietarySpring Framework 7.0 removed HandlerAdapter#getLastModified, AbstractHandlerMethodAdapter#getLastModifiedInternal and the LastModified interface, and DispatcherServlet no longer calls them. Overrides that only return -1 and are not called elsewhere are removed. Other overrides are kept without @Override and marked for a manual migration to WebRequest#checkNotModified, as their last-modified handling no longer takes effect. Calls to the removed Spring methods are marked, and implements LastModified is removed.
io. moderne. java. spring. framework7. MigrateLastModifiedSupportmod run . --recipe= io. moderne. java. spring. framework7. MigrateLastModifiedSupportInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.