Skip to content

Commit cc9622d

Browse files
oschwaldclaude
andcommitted
Fix typos in Reader Javadoc
Correct "HastMap" -> "HashMap" and "databased" -> "database" in the get(), getRecord(), and networks() Javadoc. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 3b9ddb1 commit cc9622d

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

src/main/java/com/maxmind/db/Reader.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -245,11 +245,11 @@ long record = traverseResult[0];
245245
* in an IPv6 database. networks() iterates over the canonical locations and
246246
* not the aliases. To include the aliases, you can set includeAliasedNetworks to true.
247247
*
248-
* @param <T> Represents the data type(e.g., Map, HastMap, etc.).
248+
* @param <T> Represents the data type(e.g., Map, HashMap, etc.).
249249
* @param typeParameterClass The type of data returned by the iterator.
250250
* @return Networks The Networks iterator.
251251
* @throws InvalidNetworkException Exception for using an IPv6 network in ipv4-only database.
252-
* @throws ClosedDatabaseException Exception for a closed databased.
252+
* @throws ClosedDatabaseException Exception for a closed database.
253253
* @throws InvalidDatabaseException Exception for an invalid database.
254254
*/
255255
public <T> Networks<T> networks(Class<T> typeParameterClass) throws
@@ -264,11 +264,11 @@ public <T> Networks<T> networks(Class<T> typeParameterClass) throws
264264
* separately. To set the iteration over the IPv4 networks once, use the
265265
* includeAliasedNetworks option.
266266
*
267-
* @param <T> Represents the data type(e.g., Map, HastMap, etc.).
267+
* @param <T> Represents the data type(e.g., Map, HashMap, etc.).
268268
* @param includeAliasedNetworks Enable including aliased networks.
269269
* @return Networks The Networks iterator.
270270
* @throws InvalidNetworkException Exception for using an IPv6 network in ipv4-only database.
271-
* @throws ClosedDatabaseException Exception for a closed databased.
271+
* @throws ClosedDatabaseException Exception for a closed database.
272272
* @throws InvalidDatabaseException Exception for an invalid database.
273273
*/
274274
public <T> Networks<T> networks(
@@ -331,13 +331,13 @@ private long findIpV4StartNode(Buffer buffer)
331331
* separately. To only iterate over the IPv4 networks once, use the
332332
* includeAliasedNetworks option.
333333
*
334-
* @param <T> Represents the data type(e.g., Map, HastMap, etc.).
334+
* @param <T> Represents the data type(e.g., Map, HashMap, etc.).
335335
* @param network Specifies the network to be iterated.
336336
* @param includeAliasedNetworks Boolean for including aliased networks.
337337
* @param typeParameterClass The type of data returned by the iterator.
338338
* @return Networks
339339
* @throws InvalidNetworkException Exception for using an IPv6 network in ipv4-only database.
340-
* @throws ClosedDatabaseException Exception for a closed databased.
340+
* @throws ClosedDatabaseException Exception for a closed database.
341341
* @throws InvalidDatabaseException Exception for an invalid database.
342342
*/
343343
public <T> Networks<T> networksWithin(

0 commit comments

Comments
 (0)