Skip to content

Commit 5f2fbc3

Browse files
committed
Documentation updates
1 parent 16eb891 commit 5f2fbc3

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

src/main/java/com/maxmind/geoip2/model/AbstractCountryResponse.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@ public Country getRegisteredCountry() {
6161

6262
/**
6363
* @return Represented country record for the requested IP address. The
64-
* represented country is used for things like military bases or
65-
* embassies. It is only present when the represented country
66-
* differs from the country.
64+
* represented country is used for things like military bases.
65+
* It is only present when the represented country differs from
66+
* the country.
6767
*/
6868
public RepresentedCountry getRepresentedCountry() {
6969
return this.representedCountry;

src/main/java/com/maxmind/geoip2/record/RepresentedCountry.java

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@
77
*
88
* This class contains the country-level data associated with an IP address for
99
* the IP's represented country. The represented country is the country
10-
* represented by something like a military base or embassy.
11-
*
12-
* This record is returned by all the end points.
10+
* represented by something like a military base.
1311
*/
1412
final public class RepresentedCountry extends Country {
1513
@JsonProperty
@@ -21,8 +19,7 @@ public RepresentedCountry() {
2119
/**
2220
* @return A string indicating the type of entity that is representing the
2321
* country. Currently we only return {@code military} but this could
24-
* expand to include other types such as {@code embassy} in the
25-
* future. Returned by all end points.
22+
* expand to include other types in the future.
2623
*/
2724
public String getType() {
2825
return this.type;

0 commit comments

Comments
 (0)