/**
 * 
 */
package cz.cuni.mff.odcleanstore.fusiontool.util;



/**
 * A resource that can be (and should be) closed after it is no longer needed.
 * @param <X> type of exception thrown by interface methods
 * @author Jan Michelfeit
 */
public interface Closeable<X extends Exception> {
    /**
     * Releases any resources associated with this object.
     * If the object is already closed then invoking this method has no effect.
     * @throws X exception
     */
    void close() throws X;
}

@@ -278,16 +278,38 @@
 ception%3E
+ extends AutoCloseable
  %7B%0A    /

make util Closeable AutoCloseable