Skip to content

Commit 2d89618

Browse files
committed
docs(server): little adjustments
1 parent 4b6acaa commit 2d89618

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

server/src/sc/server/Lobby.kt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,7 @@ import sc.shared.Score
1919
import java.io.Closeable
2020
import java.io.IOException
2121

22-
/**
23-
* The lobby will help clients find an open game or create new games to play with
24-
* another client.
25-
*/
22+
/** The lobby joins clients into a game by finding open rooms or creating new ones. */
2623
open class Lobby: GameRoomManager(), IClientListener, Closeable {
2724
private val logger = LoggerFactory.getLogger(Lobby::class.java)
2825

server/src/sc/server/network/NewClientListener.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,7 @@ private void startSocketListener() throws IOException {
107107
usedPort);
108108
} catch (IOException e) {
109109
logger.error("Could not start server on port " + port, e);
110-
throw e;
111-
// do not throw a new IOException to preserve the inheritance hierarchy
110+
throw e; // do not throw a new IOException to preserve the inheritance hierarchy
112111
}
113112
}
114113

0 commit comments

Comments
 (0)