remove redundant MessageCodeGenerator.stripSpaces() method