Unused imports

這個提交存在於:
Didier Le Botlan 2023-03-07 12:08:34 +01:00
父節點 77ed944b3c
當前提交 8675c420a8
共有 8 個檔案被更改,包括 9 行新增9 行删除

查看文件

@ -2,7 +2,7 @@ package org.insa.graphs.algorithm;
import org.insa.graphs.model.Arc;
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

查看文件

@ -2,7 +2,7 @@ package org.insa.graphs.algorithm;
import org.insa.graphs.algorithm.AbstractInputData.Mode;
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
@ -40,4 +40,4 @@ public interface ArcInspector {
*/
public Mode getMode();
}
}

查看文件

@ -6,7 +6,7 @@ import java.util.List;
import org.insa.graphs.algorithm.AbstractInputData.Mode;
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.AccessRestriction;

查看文件

@ -8,7 +8,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;

查看文件

@ -8,7 +8,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;

查看文件

@ -9,7 +9,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.

查看文件

@ -10,7 +10,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.

查看文件

@ -9,7 +9,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.