mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
bug fixed for IPV6
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user