This looks very useful. The javadoc reads well, and I think it is pitched at 
the right level ( view the Enumeration as an Iterator ). I expected to see 
‘view’ or ‘convert’ in the javadoc, but what you have reads fine too.

-Chris.

> On 16 May 2015, at 01:37, Stuart Marks <stuart.ma...@oracle.com> wrote:
> 
> Hi all,
> 
> Please review this small API enhancement to add a default method 
> "asIterator()" to Enumeration that converts it into an Iterator.
> 
> Webrev:
> 
>       http://cr.openjdk.java.net/~smarks/reviews/8072726/webrev.0/
> 
> Bug:
> 
>       https://bugs.openjdk.java.net/browse/JDK-8072726
> 
> Thanks,
> 
> s'marks

Reply via email to