From 11e965acc83f350e11c9f2d716ef05a3f64ea789 Mon Sep 17 00:00:00 2001 From: js Date: Tue, 3 Mar 2020 19:47:21 +0100 Subject: [PATCH] multiple servers impl (does not work yet) --- src/tools/HostList.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tools/HostList.java b/src/tools/HostList.java index 4acaf92..979cbe9 100644 --- a/src/tools/HostList.java +++ b/src/tools/HostList.java @@ -17,7 +17,7 @@ public class HostList{ /** * Let the user enter all server and puts it in a list -* @return list of servers +* @return list of servers */ public List getServList(){ @@ -25,7 +25,7 @@ public class HostList{ Scanner scanner = new Scanner(System.in); String servName = ""; do { - System.out.println("Name of the next server:"); + System.out.println("Name of the next server: (or \"stop\" when finished)"); servName = scanner.nextLine(); if (servName != "stop"){ serverList.add(servName);