src/java.base/share/classes/java/net/NetworkInterface.java
changeset 52499 768b1c612100
parent 52157 7593b9b8e8f2
child 55596 d01b345865d7
child 58678 9cf78a70fa4f
equal deleted inserted replaced
52498:c3066f7465fa 52499:768b1c612100
   168      * method is called with the InetAddress for each InterfaceAddress.
   168      * method is called with the InetAddress for each InterfaceAddress.
   169      * Only InterfaceAddresses where the {@code checkConnect} doesn't throw
   169      * Only InterfaceAddresses where the {@code checkConnect} doesn't throw
   170      * a SecurityException will be returned in the List.
   170      * a SecurityException will be returned in the List.
   171      *
   171      *
   172      * @return a {@code List} object with all or a subset of the
   172      * @return a {@code List} object with all or a subset of the
   173      *         InterfaceAddresss of this network interface
   173      *         InterfaceAddress of this network interface
   174      * @since 1.6
   174      * @since 1.6
   175      */
   175      */
   176     public java.util.List<InterfaceAddress> getInterfaceAddresses() {
   176     public java.util.List<InterfaceAddress> getInterfaceAddresses() {
   177         java.util.List<InterfaceAddress> lst = new java.util.ArrayList<>(1);
   177         java.util.List<InterfaceAddress> lst = new java.util.ArrayList<>(1);
   178         if (bindings != null) {
   178         if (bindings != null) {