modified StringUtils.java