Skip to content

Commit

Permalink
docs(server): little adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
xeruf committed Dec 14, 2020
1 parent 4b6acaa commit 2d89618
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
5 changes: 1 addition & 4 deletions server/src/sc/server/Lobby.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
3 changes: 1 addition & 2 deletions server/src/sc/server/network/NewClientListener.java
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}

Expand Down

0 comments on commit 2d89618

Please sign in to comment.