Re: [NET] org.apache.commons.net.SocketClient and Closeable

2020-09-11 Thread Gary Gregory
This will have to wait for 4.0 since
org.apache.commons.net.imap.IMAPClient.close() returns a boolean.

Gary

On Tue, Sep 8, 2020 at 7:38 PM Melloware Inc  wrote:
>
> I agree that would be expected behavior and allow it to work in try with 
> resources.
>
> Sent from my iPhone
>
> > On Sep 8, 2020, at 7:33 PM, Gary Gregory  wrote:
> >
> > Hi All,
> >
> > It seems to me that org.apache.commons.net.SocketClient should
> > implement Closeable where close() can be implemented as calling
> > disconnect().
> >
> > WDYT?
> >
> > Gary
> >
> > -
> > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
> > For additional commands, e-mail: dev-h...@commons.apache.org
> >
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
> For additional commands, e-mail: dev-h...@commons.apache.org
>

-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



Re: [NET] org.apache.commons.net.SocketClient and Closeable

2020-09-08 Thread Melloware Inc
I agree that would be expected behavior and allow it to work in try with 
resources. 

Sent from my iPhone

> On Sep 8, 2020, at 7:33 PM, Gary Gregory  wrote:
> 
> Hi All,
> 
> It seems to me that org.apache.commons.net.SocketClient should
> implement Closeable where close() can be implemented as calling
> disconnect().
> 
> WDYT?
> 
> Gary
> 
> -
> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
> For additional commands, e-mail: dev-h...@commons.apache.org
> 

-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



[NET] org.apache.commons.net.SocketClient and Closeable

2020-09-08 Thread Gary Gregory
Hi All,

It seems to me that org.apache.commons.net.SocketClient should
implement Closeable where close() can be implemented as calling
disconnect().

WDYT?

Gary

-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org