remove unused methods in StringUtils