src/main/java/zoot/tube/App.java
/**
     * When the user presses the Enter key a few times this app will shutdown.
     */
When the user presses the Enter key a few times this app will shutdown.
When the user presses the Enter key a few times this app will shutdown .
private void waitToClose() {
        Scanner input = new Scanner(System.in);
        System.out.println("Press enter to close server.");
        input.nextLine();
        this.server.shutdown();
    }
private void waitToClose ( ) { Scanner input = new Scanner ( System . in ) ; System . out . println ( "Press enter to close server." ) ; input . nextLine ( ) ; this . server . shutdown ( ) ; }
When the user presses the Enter key a few times this app will shutdown.
When the user presses the Enter key a few times this app will shutdown .