NET-626 SubnetUtils#SubnetUtils - improved comment
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/net/trunk@1786587 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 39623c0..b18709a 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -71,6 +71,9 @@
However it is not source compatible with releases before 3.4, as some methods were added to the interface NtpV3Packet in 3.4
">
+ <action issue="NET-626" type="update" dev="sebb" due-to="Makoto Sakaguchi">
+ SubnetUtils#SubnetUtils - improved comment
+ </action>
<action issue="NET-625" type="update" dev="sebb">
SubnetUtils - improve construction
</action>
diff --git a/src/main/java/org/apache/commons/net/util/SubnetUtils.java b/src/main/java/org/apache/commons/net/util/SubnetUtils.java
index 2c3a60a..4de394d 100644
--- a/src/main/java/org/apache/commons/net/util/SubnetUtils.java
+++ b/src/main/java/org/apache/commons/net/util/SubnetUtils.java
@@ -45,7 +45,7 @@
* Constructor that takes a CIDR-notation string, e.g. "192.168.0.1/16"
* @param cidrNotation A CIDR-notation string, e.g. "192.168.0.1/16"
* @throws IllegalArgumentException if the parameter is invalid,
- * i.e. does not match n.n.n.n/m where n=1-3 decimal digits, m = 1-2 decimal digits in range 1-32
+ * i.e. does not match n.n.n.n/m where n=1-3 decimal digits, m = 1-2 decimal digits in range 0-32
*/
public SubnetUtils(String cidrNotation) {
Matcher matcher = cidrPattern.matcher(cidrNotation);