Remove toLowerCase() for Java6, fixed #474

Remove toLowerCase() for Java6, fixed #474