commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1786461 - in /commons/proper/net/trunk/src: changes/changes.xml main/java/org/apache/commons/net/util/SubnetUtils.java
Date Fri, 10 Mar 2017 22:20:35 GMT
Author: sebb
Date: Fri Mar 10 22:20:35 2017
New Revision: 1786461

URL: http://svn.apache.org/viewvc?rev=1786461&view=rev
Log:
NET-623 SubnetUtils - fixed spelling errors

Modified:
    commons/proper/net/trunk/src/changes/changes.xml
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/util/SubnetUtils.java

Modified: commons/proper/net/trunk/src/changes/changes.xml
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/changes/changes.xml?rev=1786461&r1=1786460&r2=1786461&view=diff
==============================================================================
--- commons/proper/net/trunk/src/changes/changes.xml [utf-8] (original)
+++ commons/proper/net/trunk/src/changes/changes.xml [utf-8] Fri Mar 10 22:20:35 2017
@@ -71,6 +71,9 @@ This is mainly a bug-fix release. See fu
  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>

Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/util/SubnetUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/util/SubnetUtils.java?rev=1786461&r1=1786460&r2=1786461&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/util/SubnetUtils.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/util/SubnetUtils.java Fri
Mar 10 22:20:35 2017
@@ -67,7 +67,7 @@ public class SubnetUtils {
      * 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 @@ public class SubnetUtils {
         /**
          * 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
          */



Mime
View raw message