diff --git a/be-graphes-model/src/main/java/org/insa/graphs/model/io/BinaryReader.java b/be-graphes-model/src/main/java/org/insa/graphs/model/io/BinaryReader.java index b73a745..3d966f1 100644 --- a/be-graphes-model/src/main/java/org/insa/graphs/model/io/BinaryReader.java +++ b/be-graphes-model/src/main/java/org/insa/graphs/model/io/BinaryReader.java @@ -7,7 +7,7 @@ import java.io.IOException; /** * Base class for writing binary file. */ -public abstract class BinaryReader implements AutoCloseable, Closeable { +public abstract class BinaryReader implements Closeable { // Map version and magic number targeted for this reader. private final int minVersion; diff --git a/be-graphes-model/src/main/java/org/insa/graphs/model/io/BinaryWriter.java b/be-graphes-model/src/main/java/org/insa/graphs/model/io/BinaryWriter.java index 8152afe..cb69caa 100644 --- a/be-graphes-model/src/main/java/org/insa/graphs/model/io/BinaryWriter.java +++ b/be-graphes-model/src/main/java/org/insa/graphs/model/io/BinaryWriter.java @@ -7,7 +7,7 @@ import java.io.IOException; /** * Base class for writing binary file. */ -public abstract class BinaryWriter implements AutoCloseable, Closeable { +public abstract class BinaryWriter implements Closeable { // Output stream. protected final DataOutputStream dos; diff --git a/be-graphes-model/src/main/java/org/insa/graphs/model/io/GraphReader.java b/be-graphes-model/src/main/java/org/insa/graphs/model/io/GraphReader.java index 7d01fb1..e83216c 100644 --- a/be-graphes-model/src/main/java/org/insa/graphs/model/io/GraphReader.java +++ b/be-graphes-model/src/main/java/org/insa/graphs/model/io/GraphReader.java @@ -8,7 +8,7 @@ import org.insa.graphs.model.Graph; /** * Base interface for classes that can read graph. */ -public interface GraphReader extends AutoCloseable, Closeable { +public interface GraphReader extends Closeable { /** * Add a new observer to this graph reader. diff --git a/be-graphes-model/src/main/java/org/insa/graphs/model/io/PathReader.java b/be-graphes-model/src/main/java/org/insa/graphs/model/io/PathReader.java index 4d6ff7c..d8b969e 100644 --- a/be-graphes-model/src/main/java/org/insa/graphs/model/io/PathReader.java +++ b/be-graphes-model/src/main/java/org/insa/graphs/model/io/PathReader.java @@ -9,7 +9,7 @@ import org.insa.graphs.model.Path; /** * Base interface that should be implemented by class used to read paths. */ -public interface PathReader extends AutoCloseable, Closeable { +public interface PathReader extends Closeable { /** * Read a path of the given graph and returns it. diff --git a/be-graphes-model/src/main/java/org/insa/graphs/model/io/PathWriter.java b/be-graphes-model/src/main/java/org/insa/graphs/model/io/PathWriter.java index e094e8e..d431772 100644 --- a/be-graphes-model/src/main/java/org/insa/graphs/model/io/PathWriter.java +++ b/be-graphes-model/src/main/java/org/insa/graphs/model/io/PathWriter.java @@ -8,7 +8,7 @@ import org.insa.graphs.model.Path; /** * Base interface that should be implemented by class used to write paths. */ -public interface PathWriter extends AutoCloseable, Closeable { +public interface PathWriter extends Closeable { /** * Write the given path.