One can argue that Java string handling is just plain bad, even if you do know what they did and why they did it. Better to have ignored the "+" case than to have weirded around it.