diff --git a/server/src/sc/server/Lobby.kt b/server/src/sc/server/Lobby.kt index b99e48f0b..c7d060fe0 100644 --- a/server/src/sc/server/Lobby.kt +++ b/server/src/sc/server/Lobby.kt @@ -19,10 +19,7 @@ import sc.shared.Score import java.io.Closeable import java.io.IOException -/** - * The lobby will help clients find an open game or create new games to play with - * another client. - */ +/** The lobby joins clients into a game by finding open rooms or creating new ones. */ open class Lobby: GameRoomManager(), IClientListener, Closeable { private val logger = LoggerFactory.getLogger(Lobby::class.java) diff --git a/server/src/sc/server/network/NewClientListener.java b/server/src/sc/server/network/NewClientListener.java index 6e4471e38..825f60012 100644 --- a/server/src/sc/server/network/NewClientListener.java +++ b/server/src/sc/server/network/NewClientListener.java @@ -107,8 +107,7 @@ private void startSocketListener() throws IOException { usedPort); } catch (IOException e) { logger.error("Could not start server on port " + port, e); - throw e; - // do not throw a new IOException to preserve the inheritance hierarchy + throw e; // do not throw a new IOException to preserve the inheritance hierarchy } }