From cc266a7bd6ed45fa78887fdb18ca88a0123deb6f Mon Sep 17 00:00:00 2001 From: DNx5 Date: Thu, 18 Feb 2016 09:42:45 +0700 Subject: [PATCH] Update javadoc. --- src/main/java/fr/xephi/authme/util/GeoLiteAPI.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/fr/xephi/authme/util/GeoLiteAPI.java b/src/main/java/fr/xephi/authme/util/GeoLiteAPI.java index e3e6277b..f7e972fb 100644 --- a/src/main/java/fr/xephi/authme/util/GeoLiteAPI.java +++ b/src/main/java/fr/xephi/authme/util/GeoLiteAPI.java @@ -84,9 +84,9 @@ public class GeoLiteAPI { /** * Get the country code of the given IP address. * - * @param ip Ip address + * @param ip textual IP address address to lookup. * - * @return String + * @return two-character ISO 3166-1 alpha code for the country. */ public static String getCountryCode(String ip) { if (!"127.0.0.1".equals(ip) && isDataAvailable()) { @@ -102,9 +102,9 @@ public class GeoLiteAPI { /** * Get the country name of the given IP address. * - * @param ip Ip address + * @param ip textual IP address address to lookup. * - * @return String + * @return The name of the country. */ public static String getCountryName(String ip) { if (!"127.0.0.1".equals(ip) && isDataAvailable()) {