RFR 8081678: Add Stream returning methods to classes where there currently exist only Enumeration returning methods

Paul Sandoz paul.sandoz at oracle.com
Thu Jun 4 07:46:41 UTC 2015


On Jun 3, 2015, at 11:00 PM, Chris Hegarty <chris.hegarty at oracle.com> wrote:

> Looks good Paul, just a few minor comments. ( looked at all, but *security* and *sql* )
> 
> NetworkInterface
>  s/Enumertion/Stream
>    L127 * will be returned in the Enumeration. However, if the caller has the
> 
>  s/an/a
>    L131 * @return an Stream object with all or a subset of the InetAddresses
>    L 209 * @return an Stream object with all of the subinterfaces
> 

Thanks, updated.

http://cr.openjdk.java.net/~psandoz/jdk9/JDK-8081678-enumeration-and-stream/webrev/src/java.base/share/classes/java/net/NetworkInterface.java.sdiff.html

Paul.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/net-dev/attachments/20150604/11449040/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://mail.openjdk.java.net/pipermail/net-dev/attachments/20150604/11449040/signature.asc>


More information about the net-dev mailing list