mirror of
https://github.com/danog/WarehouseLibrary.git
synced 2024-11-26 12:04:46 +01:00
Cleanup
This commit is contained in:
parent
38c7664c0b
commit
8725a94e5f
@ -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;
|
||||
|
||||
|
@ -67,7 +67,4 @@ public class Server {
|
||||
synchronized public Warehouse getWarehouse() {
|
||||
return warehouse;
|
||||
}
|
||||
|
||||
public void close() {
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user