ApacheCommonsStringUtils Refaster recipes
MSALRefaster template recipes for org.openrewrite.apache.commons.lang.ApacheCommonsStringUtils.
org. openrewrite. apache. commons. lang. ApacheCommonsStringUtilsRecipesmod run . --recipe= org. openrewrite. apache. commons. lang. ApacheCommonsStringUtilsRecipesInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.
Recipe list
It runs these recipes, in this order.
- Replace
StringUtils.abbreviate(String, int)with JDK provided API - Replace
StringUtils.capitalize(String)with JDK provided API - Replace
StringUtils.defaultString(String)with JDK provided API - Replace
StringUtils.defaultString(String, String)with JDK provided API - Replace
StringUtils.deleteWhitespace(String)with JDK provided API - Replace
StringUtils.equalsIgnoreCase(CharSequence, CharSequence)with JDK provided API - Replace
StringUtils.equals(CharSequence, CharSequence)with JDK provided API - Replace
StringUtils.join(Iterable<? extends CharSequence>, String)with JDK provided API - Replace
StringUtils.lowerCase(String)with JDK provided API - Replace
StringUtils.removeEnd(String, String)with JDK provided API - Replace
StringUtils.replace(String, String, String)with JDK provided API - Replace
StringUtils.reverse(String)with JDK provided API - Replace
StringUtils.split(String)with JDK provided API - Replace
StringUtils.strip(String)with JDK provided API - Replace
StringUtils.trimToEmpty(String)with JDK provided API - Replace
StringUtils.trimToNull(String)with JDK provided API - Replace
StringUtils.trim(String)with JDK provided API - Replace
StringUtils.upperCase(String)with JDK internals - Remove redundant null check when using
StringUtils.isNotBlank(String)