Unused imports

This commit is contained in:
Didier Le Botlan 2023-03-07 12:08:34 +01:00
parent 77ed944b3c
commit 8675c420a8
8 changed files with 9 additions and 9 deletions

View File

@ -2,7 +2,7 @@ package org.insa.graphs.algorithm;
import org.insa.graphs.model.Arc; import org.insa.graphs.model.Arc;
import org.insa.graphs.model.Graph; import org.insa.graphs.model.Graph;
import org.insa.graphs.model.GraphStatistics; //import org.insa.graphs.model.GraphStatistics;
/** /**
* Base class for algorithm input data classes. This class contains the basic * Base class for algorithm input data classes. This class contains the basic

View File

@ -2,7 +2,7 @@ package org.insa.graphs.algorithm;
import org.insa.graphs.algorithm.AbstractInputData.Mode; import org.insa.graphs.algorithm.AbstractInputData.Mode;
import org.insa.graphs.model.Arc; import org.insa.graphs.model.Arc;
import org.insa.graphs.model.GraphStatistics; //import org.insa.graphs.model.GraphStatistics;
/** /**
* This class can be used to indicate to an algorithm which arcs can be used and * This class can be used to indicate to an algorithm which arcs can be used and
@ -40,4 +40,4 @@ public interface ArcInspector {
*/ */
public Mode getMode(); public Mode getMode();
} }

View File

@ -6,7 +6,7 @@ import java.util.List;
import org.insa.graphs.algorithm.AbstractInputData.Mode; import org.insa.graphs.algorithm.AbstractInputData.Mode;
import org.insa.graphs.model.Arc; import org.insa.graphs.model.Arc;
import org.insa.graphs.model.GraphStatistics; //import org.insa.graphs.model.GraphStatistics;
import org.insa.graphs.model.AccessRestrictions.AccessMode; import org.insa.graphs.model.AccessRestrictions.AccessMode;
import org.insa.graphs.model.AccessRestrictions.AccessRestriction; import org.insa.graphs.model.AccessRestrictions.AccessRestriction;

View File

@ -8,7 +8,7 @@ import java.io.IOException;
* Base class for writing binary file. * 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. // Map version and magic number targeted for this reader.
private final int minVersion; private final int minVersion;

View File

@ -8,7 +8,7 @@ import java.io.IOException;
* Base class for writing binary file. * Base class for writing binary file.
* *
*/ */
public abstract class BinaryWriter implements AutoCloseable, Closeable { public abstract class BinaryWriter implements Closeable {
// Output stream. // Output stream.
protected final DataOutputStream dos; protected final DataOutputStream dos;

View File

@ -9,7 +9,7 @@ import org.insa.graphs.model.Graph;
* Base interface for classes that can read 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. * Add a new observer to this graph reader.

View File

@ -10,7 +10,7 @@ import org.insa.graphs.model.Path;
* Base interface that should be implemented by class used to read paths. * 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. * Read a path of the given graph and returns it.

View File

@ -9,7 +9,7 @@ import org.insa.graphs.model.Path;
* Base interface that should be implemented by class used to write paths. * 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. * Write the given path.