bug fixed for IPV6

This commit is contained in:
wenshao
2013-07-15 15:14:22 +08:00
parent f657c5f099
commit 9c86d3f37b
2 changed files with 9 additions and 0 deletions
@@ -100,6 +100,9 @@ public class StringUtils {
}
public static int lowerHashCode(String text) {
if (text == null) {
return 0;
}
// return text.toLowerCase().hashCode();
int h = 0;
for (int i = 0; i < text.length(); ++i) {