sorry for cross-posting, but I have no response in user list
Hopefully this list will fit better :)

On Tue, Jan 12, 2016 at 2:34 PM, Maxim Solodovnik <[email protected]>
wrote:

> Hello All,
>
> As I can see in latest directory-api sources
>
> interface Cursor<E> extends Iterable<E>
>
> Maybe it worth to be changed to
>
> interface Cursor<E> extends Iterable<E>, Closable
>
> This way will be no need to declare void close(); explicitly
> Also It will be possible to use
> try (EntryCursor cursor = new EntryCursorImpl(...)) {
> } catch (...) {
> }
> constructs
>
> WDYT?
>
> not sure maybe this question better fits dev@ list
>
>
> --
> WBR
> Maxim aka solomax
>



-- 
WBR
Maxim aka solomax

Reply via email to