From 3bdd77304a1b2e7ac8fc6d5dc0688de8a05e6066 Mon Sep 17 00:00:00 2001 From: Gregory Oschwald Date: Tue, 5 Jul 2016 07:57:04 -0700 Subject: [PATCH] Clarify what the accuracy radius is --- CHANGELOG.md | 6 ++++++ src/main/java/com/maxmind/geoip2/record/Location.java | 7 +++++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e0fe81d1..7a6eb706 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,12 @@ CHANGELOG ========= +2.8.0 (2016-XX-XX) +------------------ + +* All changes included in 2.8.0-rc1. +* Updated documentation to clarify what the accuracy radius refers to. + 2.8.0-rc1 (2016-06-20) ---------------------- diff --git a/src/main/java/com/maxmind/geoip2/record/Location.java b/src/main/java/com/maxmind/geoip2/record/Location.java index af11049c..4123485f 100644 --- a/src/main/java/com/maxmind/geoip2/record/Location.java +++ b/src/main/java/com/maxmind/geoip2/record/Location.java @@ -68,8 +68,11 @@ public String getTimeZone() { } /** - * @return The radius in kilometers around the specified location where the - * IP address is likely to be. + * @return The approximate accuracy radius in kilometers around the + * latitude and longitude for the IP address. This is the radius where we + * have a 67% confidence that the device using the IP address resides + * within the circle centered at the latitude and longitude with the + * provided radius. */ @JsonProperty("accuracy_radius") public Integer getAccuracyRadius() {