Make AuditorAware.getCurrentAuditor return Optional
MSALAs of Spring boot 2.0, the AuditorAware.getCurrentAuditor method should return an Optional. This recipe will update the implementations of this method to return an Optional using the ofNullable.
org. openrewrite. java. spring. data. MigrateAuditorAwareToOptionalmod run . --recipe= org. openrewrite. java. spring. data. MigrateAuditorAwareToOptionalInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.