Revert "Adjust for minor StringUtils behaviour modification."

This reverts commit 7a978b0d6758dd761d3ba229392ecd1d47387ea2.