Skip to content

Commit

Permalink
Merge pull request #14 from cpiotr/feature/change-error-message
Browse files Browse the repository at this point in the history
Change error message when closing selector keys
  • Loading branch information
terma authored Mar 24, 2020
2 parents 68262fb + d196fc2 commit 817f6b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/com/github/terma/javaniotcpserver/TcpServerWorker.java
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public void run() {

private void closeSelector(Selector selector) {
for (final SelectionKey key : selector.keys()) {
closeOrLog(key.channel(), "Could not selector channel properly.");
closeOrLog(key.channel(), "Could not close selector channel properly.");
}

closeOrLog(selector, "Could not close selector properly.");
Expand Down

0 comments on commit 817f6b8

Please sign in to comment.