Skip to content

Commit

Permalink
Remove or make use of unused code (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
TimPushkin authored Apr 16, 2024
1 parent 618792b commit 200edd8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/java/com/example/App.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import java.util.Arrays;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.ServletException;
import java.io.IOException;

import org.crac.Context;
Expand All @@ -20,7 +19,7 @@ class ServerManager implements Resource {
Server server;

public ServerManager(int port, Handler handler) throws Exception {
server = new Server(8080);
server = new Server(port);
server.setHandler(handler);
server.start();
Core.getGlobalContext().register(this);
Expand Down

0 comments on commit 200edd8

Please sign in to comment.