From c3c20ceca485db8824ed1fa855bfd218daa6a22a Mon Sep 17 00:00:00 2001 From: zzz <zzz@mail.i2p> Date: Fri, 22 May 2009 15:17:47 +0000 Subject: [PATCH] fix comments --- router/java/src/net/i2p/router/transport/GeoIP.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/router/java/src/net/i2p/router/transport/GeoIP.java b/router/java/src/net/i2p/router/transport/GeoIP.java index e737e02f43..20261e968b 100644 --- a/router/java/src/net/i2p/router/transport/GeoIP.java +++ b/router/java/src/net/i2p/router/transport/GeoIP.java @@ -112,9 +112,9 @@ public class GeoIP { /** * 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) * code,full name * @@ -180,8 +180,9 @@ public class GeoIP { * unzip ip-to-country.csv.zip * 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 - * returns the map with values entered + * @param search a sorted array of IPs to search + * @return an array of country codes, same order as the search param, + * or a zero-length array on failure * */ private String[] readGeoIPFile(Long[] search) { -- GitLab