Skip to content

Commit 29b5c1a

Browse files
committed
Change docs on Reader.networks()
1 parent 6c3a972 commit 29b5c1a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -202,8 +202,8 @@ record = this.readNode(buffer, record, bit);
202202
* Creates a Networks iterator and skips aliased networks.
203203
* Please note that a MaxMind DB may map IPv4 networks into several locations
204204
* in an IPv6 database. This iterator will iterate over all of these locations
205-
* separately. To only iterate over the IPv4 networks once, use the
206-
* SkipAliasedNetworks option.
205+
* separately. To disable skipAliasedNetworks, which iterates over the IPv4 networks
206+
* only once, use the SkipAliasedNetworks parameter.
207207
*
208208
* @return Networks The Networks iterator.
209209
* @throws InvalidNetworkException Exception for using an IPv6 network in ipv4-only database.
@@ -219,10 +219,10 @@ public Networks networks() throws
219219
* Creates a Networks iterator.
220220
* Please note that a MaxMind DB may map IPv4 networks into several locations
221221
* in an IPv6 database. This iterator will iterate over all of these locations
222-
* separately. To only iterate over the IPv4 networks once, use the
222+
* separately. To set the iteration over the IPv4 networks once, use the
223223
* SkipAliasedNetworks option.
224224
*
225-
* @param skipAliasedNetworks Enable skipping aliased networks.
225+
* @param skipAliasedNetworks Enable or disable skipping aliased networks.
226226
* @return Networks The Networks iterator.
227227
* @throws InvalidNetworkException Exception for using an IPv6 network in ipv4-only database.
228228
* @throws ClosedDatabaseException Exception for a closed databased.

0 commit comments

Comments
 (0)