Replace 0 < s.length() with !s.isEmpty()
MSALReplace 0 < s.length() and s.length() != 0 with !s.isEmpty().
org. openrewrite. java. migrate. lang. UseStringIsEmptyRecipemod run . --recipe= org. openrewrite. java. migrate. lang. UseStringIsEmptyRecipeInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.