Skip to content

Commit

Permalink
Botched refactor of writeKeyList.
Browse files Browse the repository at this point in the history
  • Loading branch information
headius committed Nov 9, 2014
1 parent 12c9139 commit a1a3efc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/java/org/jruby/util/io/SelectExecutor.java
Expand Up @@ -234,7 +234,7 @@ private int maxReadReadySize() {

private int maxWriteReadySize() {
int size = 0;
if (writeKeyList != null) size += readKeyList.size();
if (writeKeyList != null) size += writeKeyList.size();
if (unselectableWriteFDs != null) size += unselectableWriteFDs.size();
return size;
}
Expand Down

0 comments on commit a1a3efc

Please sign in to comment.