Find x.isNotEmpty() on String where isNotBlank() might be wanted
ProprietaryString.isNotEmpty() returns true for whitespace-only strings. When the check exists to guard against missing user input, isNotBlank() is usually closer to the intent.
org. openrewrite. kotlin. bestpractices. FindIsNotEmptyOnString$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. bestpractices. FindIsNotEmptyOnString$KtRecipe'Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.