Use DiskSpaceHealthIndicator(File, DataSize)
MSALDiskSpaceHealthIndicator(File, long) was deprecated in Spring Boot 2.1 for removal in 2.2.
org. openrewrite. java. spring. boot2. MigrateDiskSpaceHealthIndicatorConstructormod run . --recipe= org. openrewrite. java. spring. boot2. MigrateDiskSpaceHealthIndicatorConstructorInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.