Skip to content

Commit 6bf72ff

Browse files
Canonicalize metro code description
1 parent 9279bac commit 6bf72ff

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/main/java/com/maxmind/minfraud/response/GeoIp2Location.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
* "2015-04-27T19:17:24-04:00".
2222
* @param longitude The approximate longitude of the location associated with the IP
2323
* address.
24-
* @param metroCode The metro code of the location if the location is in the US.
24+
* @param metroCode Deprecated. The no-longer-maintained code for targeting advertisements
25+
* in Google, if the location is in the US.
2526
* @param populationDensity The estimated population per square kilometer associated with the IP
2627
* address.
2728
* @param timeZone The time zone associated with location, as specified by the IANA Time
@@ -103,7 +104,7 @@ public Double getLongitude() {
103104
}
104105

105106
/**
106-
* @return The metro code of the location if the location is in the US.
107+
* @return The no-longer-maintained code for targeting advertisements in Google.
107108
* @deprecated Use {@link #metroCode()} instead. This method will be removed in 5.0.0.
108109
*/
109110
@Deprecated(since = "4.0.0", forRemoval = true)

0 commit comments

Comments
 (0)