Commit b08b1994 authored by 9731050's avatar 9731050

add main

parent bb1c9258
Pipeline #688 failed with stages
public class Main { public class Main {
public static void main(String[] args) throws Exception { public static void main(String[] args) throws Exception {
Server server=new Server(1234); Server server=new Server();
} }
} }
...@@ -15,10 +15,6 @@ public class Server { ...@@ -15,10 +15,6 @@ public class Server {
serverSocket.setSoTimeout(1000); serverSocket.setSoTimeout(1000);
} }
public Server(int i) {
}
public void run() { public void run() {
while (true) { while (true) {
try { try {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment