voodoodyne / subethasmtp

SubEtha SMTP is a Java library for receiving SMTP mail
Other
344 stars 138 forks source link

Improvement : make Wiser class implements Closeable #27

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Wiser class has a Close method.

It would be handy for it to implement the Closeable interface, to allow
"automatic" management on the close.

BTW, JDK 7 may as well introduce Disposable (cf
http://mail.openjdk.java.net/pipermail/coin-dev/2009-February/000011.html)
for a better usability.

Original issue reported on code.google.com by joseph.p...@gmail.com on 21 Jan 2010 at 9:07

GoogleCodeExporter commented 9 years ago
NB : I've realized I've mixed close() and stop()... This improvement might not 
be
this worthy in the end...

sorry

Original comment by joseph.p...@gmail.com on 21 Jan 2010 at 9:10

GoogleCodeExporter commented 9 years ago
yea, close() != stop(), this doesn't really add anything useful.

Original comment by latch...@gmail.com on 11 Feb 2010 at 8:03