This commit is contained in:
Daniil Gentili 2017-11-06 15:20:38 +03:00
parent 38c7664c0b
commit 8725a94e5f
2 changed files with 2 additions and 4 deletions

View File

@ -21,6 +21,7 @@ import Payloads.ResponsePayload;
import Payloads.ServerException;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.Closeable;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
@ -30,7 +31,7 @@ import java.net.Socket;
*
* @author Daniil Gentili
*/
public class Client {
public class Client implements Closeable {
private final BufferedWriter out;
private final BufferedReader in;

View File

@ -67,7 +67,4 @@ public class Server {
synchronized public Warehouse getWarehouse() {
return warehouse;
}
public void close() {
}
}