Skip to content

Commit 89b8e56

Browse files
author
IPIP.net
committed
Merge pull request 17mon#4 from ilsanbao/patch-2
Update IP.java
2 parents 76c163e + e3faa4c commit 89b8e56

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

IP.java

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

88-
return new String(areaBytes, Charset.forName("UTF-8")).split("\t");
88+
return new String(areaBytes, Charset.forName("UTF-8")).split("\t", -1);
8989
}
9090

9191
private static void watch() {
@@ -166,4 +166,4 @@ private static long int2long(int i) {
166166
}
167167
return l;
168168
}
169-
}
169+
}

0 commit comments

Comments
 (0)