Open DevDavido opened 3 months ago
Good suggestion indeed @DevDavido ; The Java 11 requirement might be tricky to work around; we have the same issue in this PR
Might be worth following that one as well as any fix there would unlock this one as well.
What problem are you trying to solve?
Similar to the recipe which replaces the
StringUtils#isEmpty(String)
andStringUtils#isNotEmpty(String)
[1], a recipe would be helpful which replacesStringUtils#isBlank(CharSequence)
andStringUtils#isNotBlank(CharSequence)
with its plain Java equivalent too.What precondition(s) should be checked before applying this recipe?
At least Java 11 is required due to the availability of
java.lang.String#isBlank()
.Describe the situation before applying the recipe
Describe the situation after applying the recipe