From bf0d57ee46e6d89eaf2ab514931cf943fae87797 Mon Sep 17 00:00:00 2001 From: Sogomn Date: Fri, 5 Feb 2016 23:46:14 +0100 Subject: [PATCH] Minor changes Cleanups --- Ratty/src/de/sogomn/rat/Ratty.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/Ratty/src/de/sogomn/rat/Ratty.java b/Ratty/src/de/sogomn/rat/Ratty.java index ad6020c..2b39ffd 100644 --- a/Ratty/src/de/sogomn/rat/Ratty.java +++ b/Ratty/src/de/sogomn/rat/Ratty.java @@ -22,7 +22,6 @@ public final class Ratty { private static boolean client; private static final String PORT_INPUT_MESSAGE = "Which port should the server be bind to?"; - private static final String INVALID_PORT_MESSAGE = "Invalid port."; private static final int CONNECTION_INTERVAL = 2500; private static final String CONNECTION_DATA_FILE_NAME = "/connection_data.txt"; @@ -123,8 +122,6 @@ public final class Ratty { final int port = getPortInput(); if (port == -1) { - JOptionPane.showMessageDialog(null, INVALID_PORT_MESSAGE); - return; }