Skip to content

Commit 9309fdc

Browse files
oschwaldclaude
andcommitted
Fix documentation typos in record getters
Corrected typos and style inconsistencies in deprecated getter javadocs to match the param documentation: - MaxMind: "queried" → "queries" - Subdivision.getConfidence(): "This is a value" → "A value" - Subdivision.getIsoCode(): "contain" → "containing", "3166-2code" → "3166-2 code" 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent cb99a66 commit 9309fdc

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public MaxMind() {
2626
}
2727

2828
/**
29-
* @return The number of remaining queried in your account for the current
29+
* @return The number of remaining queries in your account for the current
3030
* web service. This returns {@code null} when called on a database.
3131
* @deprecated Use {@link #queriesRemaining()} instead. This method will be removed in 6.0.0.
3232
*/

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public Subdivision(
8383
}
8484

8585
/**
86-
* @return This is a value from 0-100 indicating MaxMind's confidence that
86+
* @return A value from 0-100 indicating MaxMind's confidence that
8787
* the subdivision is correct. This attribute is only available from
8888
* the Insights web service and the GeoIP2 Enterprise database.
8989
* @deprecated Use {@link #confidence()} instead. This method will be removed in 6.0.0.
@@ -95,10 +95,10 @@ public Integer getConfidence() {
9595
}
9696

9797
/**
98-
* @return This is a string up to three characters long contain the
98+
* @return A string up to three characters long containing the
9999
* subdivision portion of the <a
100100
* href="https://en.wikipedia.org/wiki/ISO_3166-2">ISO
101-
* 3166-2code</a>.
101+
* 3166-2 code</a>.
102102
* @deprecated Use {@link #isoCode()} instead. This method will be removed in 6.0.0.
103103
*/
104104
@Deprecated(since = "5.0.0", forRemoval = true)

0 commit comments

Comments
 (0)