Do you use StringUtils.EMPTY
instead of \"\"
?
I mean either as a return value or if you set a the value of a String variable. I don\'t mean
I use StringUtils.EMPTY
, for hiding the literal and also to express that return StringUtils.EMPTY
was fully expected and there should return an empty string, ""
can lead to the assumption that ""
can be easily changed into something else and that this was maybe only a mistake. I think the EMPTY
is more expressive.