Owen O'Malley wrote:
Is the Closable interface useful?
On further thought, I think a Closeable interface is very useful. The need for a close() method comes up in many interfaces. For example, this just came up in Nutch:
http://issues.apache.org/jira/browse/NUTCH-211I also just noticed that a Closeable interface has been added to Java 1.5. So let's move Closeable to org.apache.hadoop.io, with a note that it should be replaced by java.io.Closeable when we move the Java 1.5, okay?
Doug
