From 29b5c1a13d5bf8dc88447fc2fdf88567f4e48661 Mon Sep 17 00:00:00 2001 From: Fatih Aktas Date: Fri, 3 Nov 2023 13:55:49 -0400 Subject: [PATCH] Change docs on Reader.networks() --- src/main/java/com/maxmind/db/Reader.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/maxmind/db/Reader.java b/src/main/java/com/maxmind/db/Reader.java index 5f57ffbf..c346054d 100644 --- a/src/main/java/com/maxmind/db/Reader.java +++ b/src/main/java/com/maxmind/db/Reader.java @@ -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. @@ -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.