Migrate TransactionSynchronizationAdapter to TransactionSynchronization

Proprietary

Deprecated as of 5.3 in favor of the default methods on the TransactionSynchronization interface. The adapter adds nothing over those defaults: it declares the same empty method bodies, and its getOrder() returns Ordered.LOWEST_PRECEDENCE, which is what TransactionSynchronization#getOrder also defaults to. Subclasses, anonymous classes and other references to the adapter are all migrated.

io.moderne.java.spring.framework.MigrateTransactionSynchronizationAdapter
mod run . --recipe=io.moderne.java.spring.framework.MigrateTransactionSynchronizationAdapter

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