Skip to content

Commit

Permalink
More review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
dfuch committed Sep 9, 2024
1 parent cb7c1d5 commit 8b9e362
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions src/java.base/share/classes/java/net/NetworkInterface.java
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,12 @@
* Network interface instances are typically used to identify the local
* interface on which a multicast group is joined.
*
* @apiNote <a id="lookup"></a>Several static methods in this class allow to
* lookup and return new instances of {@code NetworkInterface}.
* As outlined above, the returned interface instances may reflect a snapshot
* of the configuration taken at the time the instance is created.
* The network configuration may change at any time, and such methods may need to
* be invoked again in order to obtain a more up-to-date view of the network
* interfaces.
* @apiNote <a id="lookup"></a>Several static methods in this class are
* factory methods, returning a new instance of a {@code NetworkInterface},
* reflecting the configuration at the time of instantiation.
* The network configuration may change at any time, and as such,
* these methods may need to be invoked again in order to obtain
* a more up-to-date view of the network interfaces.
* In particular, there is no guarantee that the same interface will be
* found at the same index, or that the same network addresses will be
* bound to the interface, if the network configuration of the system
Expand Down

0 comments on commit 8b9e362

Please sign in to comment.