fix comments

This commit is contained in:
zzz
2009-05-22 15:17:47 +00:00
parent aa04820fd1
commit c3c20ceca4

View File

@ -112,9 +112,9 @@ public class GeoIP {
/** /**
* Read in and parse the country file. * Read in and parse the country file.
* The geoip file need not be sorted. * The file need not be sorted.
* *
* Acceptable formats (IPV4 only): * Acceptable formats:
* #comment (# must be in column 1) * #comment (# must be in column 1)
* code,full name * code,full name
* *
@ -180,8 +180,9 @@ public class GeoIP {
* unzip ip-to-country.csv.zip * unzip ip-to-country.csv.zip
* cut -d, -f0-3 < ip-to-country.csv|sed 's/"//g' > geoip.txt * cut -d, -f0-3 < ip-to-country.csv|sed 's/"//g' > geoip.txt
* *
* @param search a sorted map of IPs to search, with null values * @param search a sorted array of IPs to search
* returns the map with values entered * @return an array of country codes, same order as the search param,
* or a zero-length array on failure
* *
*/ */
private String[] readGeoIPFile(Long[] search) { private String[] readGeoIPFile(Long[] search) {