Skip to content

Commit

Permalink
Change docs on Reader.networks()
Browse files Browse the repository at this point in the history
  • Loading branch information
faktas2 committed Nov 3, 2023
1 parent 6c3a972 commit 29b5c1a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/main/java/com/maxmind/db/Reader.java
Original file line number Diff line number Diff line change
Expand Up @@ -202,8 +202,8 @@ record = this.readNode(buffer, record, bit);
* Creates a Networks iterator and skips aliased networks.
* Please note that a MaxMind DB may map IPv4 networks into several locations
* in an IPv6 database. This iterator will iterate over all of these locations
* separately. To only iterate over the IPv4 networks once, use the
* SkipAliasedNetworks option.
* separately. To disable skipAliasedNetworks, which iterates over the IPv4 networks
* only once, use the SkipAliasedNetworks parameter.
*
* @return Networks The Networks iterator.
* @throws InvalidNetworkException Exception for using an IPv6 network in ipv4-only database.
Expand All @@ -219,10 +219,10 @@ public Networks networks() throws
* Creates a Networks iterator.
* Please note that a MaxMind DB may map IPv4 networks into several locations
* in an IPv6 database. This iterator will iterate over all of these locations
* separately. To only iterate over the IPv4 networks once, use the
* separately. To set the iteration over the IPv4 networks once, use the
* SkipAliasedNetworks option.
*
* @param skipAliasedNetworks Enable skipping aliased networks.
* @param skipAliasedNetworks Enable or disable skipping aliased networks.
* @return Networks The Networks iterator.
* @throws InvalidNetworkException Exception for using an IPv6 network in ipv4-only database.
* @throws ClosedDatabaseException Exception for a closed databased.
Expand Down

0 comments on commit 29b5c1a

Please sign in to comment.