Adopt setLongThreadID in java.util.logging.LogRecord

MSAL

Avoid using the deprecated methods in java.util.logging.LogRecord.

org.openrewrite.java.migrate.DeprecatedLogRecordThreadID
mod run . --recipe=org.openrewrite.java.migrate.DeprecatedLogRecordThreadID

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 invocation return type
  2. Change method name java.util.logging.LogRecord getThreadID() to getLongThreadID
  3. Change method name java.util.logging.LogRecord setThreadID(int) to setLongThreadID