package com.hamishrickerby.http_server;

/**
 * Created by rickerbh on 15/08/2016.
 */
public class App {
    public static void main(String[] args) {
        AppArguments arguments = new AppArguments(args);
        Integer port = Integer.getInteger(arguments.getOrDefault("-p", "5000"));
        SocketServer server = new SocketServer(port);
        try {
            Thread.sleep(5000);
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}

@@ -236,18 +236,16 @@
 ger.
-getInteger
+parseInt
 (arg

Fix issue with parsing out the port number