Migrates deprecated DefaultHttpClient

MSAL

Since DefaultHttpClient is deprecated, we need to change it to the CloseableHttpClient. It only covers the default scenario with no custom HttpParams or ConnectionManager.

Of note: the DefaultHttpClient does not support TLS 1.2.

References:

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

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