Prefer List#removeLast() over less idiomatic alternatives
Apache 2.0Warning: this rewrite changes the exception thrown for empty lists from
IndexOutOfBoundsException to NoSuchElementException.
tech. picnic. errorprone. refasterrules. CollectionRulesRecipes$ListRemoveLastRecipemod run . --recipe= 'tech. picnic. errorprone. refasterrules. CollectionRulesRecipes$ListRemoveLastRecipe'Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.