Replace HttpServletRequestWrapper.isRequestedSessionIdFromUrl() with isRequestedSessionIdFromURL()

MSAL

The method HttpServletRequestWrapper.isRequestedSessionIdFromUrl() is deprecated in Java EE 8 and is replaced by HttpServletRequestWrapper.isRequestedSessionIdFromURL().

org.openrewrite.java.migrate.javaee8.ServletIsRequestedSessionIdFromURL
mod run . --recipe=org.openrewrite.java.migrate.javaee8.ServletIsRequestedSessionIdFromURL

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.

Recipe list

It runs these recipes, in this order.

  1. Change method name javax.servlet.http.HttpServletRequestWrapper isRequestedSessionIdFromUrl() to isRequestedSessionIdFromURL