NET-623 SubnetUtils - fixed spelling errors
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/net/trunk@1786461 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 6e1e7c4..a49cdba 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-623" type="fix" dev="sebb" due-to="Makoto Sakaguchi">
+ SubnetUtils - fixed spelling errors
+ </action>
<action issue="NET-621" type="fix" dev="sebb" due-to="Makoto Sakaguchi">
SubnetUtils#SubnetInfo - remove unnecessary accessors
</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 8cc55f8..2f33d58 100644
--- a/src/main/java/org/apache/commons/net/util/SubnetUtils.java
+++ b/src/main/java/org/apache/commons/net/util/SubnetUtils.java
@@ -67,7 +67,7 @@
* Returns <code>true</code> if the return value of {@link SubnetInfo#getAddressCount()}
* includes the network and broadcast addresses.
* @since 2.2
- * @return true if the hostcount includes the network and broadcast addresses
+ * @return true if the host count includes the network and broadcast addresses
*/
public boolean isInclusiveHostCount() {
return inclusiveHostCount;
@@ -112,7 +112,7 @@
/**
* Returns true if the parameter <code>address</code> is in the
* range of usable endpoint addresses for this subnet. This excludes the
- * network and broadcast adresses.
+ * network and broadcast addresses.
* @param address A dot-delimited IPv4 address, e.g. "192.168.0.1"
* @return True if in range, false otherwise
*/