Maps deprecated classes from Apache HttpClient 4.5.x to suggested replacements

MSAL

Uses new classes/methods instead of the deprecated ones.

org.openrewrite.apache.httpclient4.MappingDeprecatedClasses
mod run . --recipe=org.openrewrite.apache.httpclient4.MappingDeprecatedClasses

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. Replace constant with another constant
  2. Replace constant with another constant
  3. Change type CookiePolicy to CookieSpecs
  4. Migrates deprecated DefaultHttpClient