Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[XNIO-137] Fix Sequence.isEmpty() method.

  • Loading branch information...
commit f3d12fec77a9d0e8b976fc44eae52c87e01f3bb9 1 parent 22a80f7
@fl4via fl4via authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  api/src/main/java/org/xnio/Sequence.java
View
2  api/src/main/java/org/xnio/Sequence.java
@@ -141,7 +141,7 @@ public int size() {
* @return {@code true} if the sequence has no elements
*/
public boolean isEmpty() {
- return values.length != 0;
+ return values.length == 0;
}
/**
Please sign in to comment.
Something went wrong with that request. Please try again.