search (\w+) != null && !(\1).isEmpty\(\)
Comment From: mhalbritter
Hey @quaff, thanks for the PR. If I use this regex to search our main codebase, I still find some which haven't been replaced, like org.springframework.boot.actuate.autoconfigure.health.HealthProperties.Status#setOrder or org.springframework.boot.autoconfigure.condition.ConditionMessage.ItemsBuilder#items(org.springframework.boot.autoconfigure.condition.ConditionMessage.Style, java.util.Collection<?>). Is there a particular reason that those haven't been replaced?
Comment From: quaff
Hey @quaff, thanks for the PR. If I use this regex to search our
maincodebase, I still find some which haven't been replaced, likeorg.springframework.boot.actuate.autoconfigure.health.HealthProperties.Status#setOrderororg.springframework.boot.autoconfigure.condition.ConditionMessage.ItemsBuilder#items(org.springframework.boot.autoconfigure.condition.ConditionMessage.Style, java.util.Collection<?>). Is there a particular reason that those haven't been replaced?
They are included in this PR, please check.
Comment From: mhalbritter
Hey @quaff, of course you're right, that was a mistake on my part :)
Comment From: mhalbritter
Thanks!