Today I needed to use a method to return a default value if certain string was not given.
I used the old "Eclipse CTRL+Space" trick and looked up in the StringUtils API javadoc for an example that suited my need
I noticed that StringUtils.defaultIfEmpty missed an example with whitespace (like in StringUtils.defaultIfEmpty), and created a patch for it. The description in the Javadoc is very good, but my laziness asks for an example with whitespace
Bruno P. Kinoshita