Skip to content

Commit f515445

Browse files
author
IPIP.net
committed
Update IPExt.java
1 parent 89b8e56 commit f515445

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

IPExt.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public static String[] find(String ip) {
6666
lock.unlock();
6767
}
6868

69-
return new String(areaBytes, Charset.forName("UTF-8")).split("\t");
69+
return new String(areaBytes, Charset.forName("UTF-8")).split("\t", -1);
7070
}
7171

7272
private static void watch() {
@@ -154,4 +154,4 @@ private static long int2long(int i) {
154154
}
155155
return l;
156156
}
157-
}
157+
}

0 commit comments

Comments
 (0)