multiple servers impl (does not work yet)

pull/30/head
js 5 years ago committed by Louis
parent c981309ef6
commit 11e965acc8

@ -25,7 +25,7 @@ public class HostList{
Scanner scanner = new Scanner(System.in); Scanner scanner = new Scanner(System.in);
String servName = ""; String servName = "";
do { do {
System.out.println("Name of the next server:"); System.out.println("Name of the next server: (or \"stop\" when finished)");
servName = scanner.nextLine(); servName = scanner.nextLine();
if (servName != "stop"){ if (servName != "stop"){
serverList.add(servName); serverList.add(servName);

Loading…
Cancel
Save