@@ -15,15 +15,14 @@ public class Location extends AbstractRecord {
1515 private final Integer averageIncome ;
1616 private final Double latitude ;
1717 private final Double longitude ;
18- private final Integer metroCode ;
1918 private final Integer populationDensity ;
2019 private final String timeZone ;
2120
2221 /**
2322 * Constructs a {@code Location} record with {@code null} values for all the fields.
2423 */
2524 public Location () {
26- this (null , null , null , null , null , null , null );
25+ this (null , null , null , null , null , null );
2726 }
2827
2928 /**
@@ -43,10 +42,6 @@ public Location() {
4342 * @param longitude The approximate longitude of the location associated
4443 * with the IP address. This value is not precise and should not be used
4544 * to identify a particular address or household.
46- * @param metroCode The metro code of the location if the location is in
47- * the US. MaxMind returns the same metro codes as the <a href=
48- * "https://developers.google.com/adwords/api/docs/appendix/cities-DMAregions"
49- * >Google AdWords API</a>.
5045 * @param populationDensity The estimated population per square kilometer
5146 * associated with the IP address. This attribute is only available from
5247 * the Insights web service.
@@ -62,7 +57,6 @@ public Location(
6257 Integer averageIncome ,
6358 @ JsonProperty ("latitude" ) @ MaxMindDbParameter (name = "latitude" ) Double latitude ,
6459 @ JsonProperty ("longitude" ) @ MaxMindDbParameter (name = "longitude" ) Double longitude ,
65- @ JsonProperty ("metro_code" ) @ MaxMindDbParameter (name = "metro_code" ) Integer metroCode ,
6660 @ JsonProperty ("population_density" ) @ MaxMindDbParameter (name = "population_density" )
6761 Integer populationDensity ,
6862 @ JsonProperty ("time_zone" ) @ MaxMindDbParameter (name = "time_zone" ) String timeZone
@@ -71,7 +65,6 @@ public Location(
7165 this .averageIncome = averageIncome ;
7266 this .latitude = latitude ;
7367 this .longitude = longitude ;
74- this .metroCode = metroCode ;
7568 this .populationDensity = populationDensity ;
7669 this .timeZone = timeZone ;
7770 }
@@ -118,16 +111,6 @@ public Integer getAccuracyRadius() {
118111 return this .accuracyRadius ;
119112 }
120113
121- /**
122- * @return The metro code is a no-longer-maintained code for targeting
123- * advertisements in Google.
124- * @deprecated Code values are no longer maintained.
125- */
126- @ JsonProperty ("metro_code" )
127- @ Deprecated
128- public Integer getMetroCode () {
129- return this .metroCode ;
130- }
131114
132115 /**
133116 * @return The approximate latitude of the location associated with the
0 commit comments