Skip to content
Browse files

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

  • Loading branch information...
1 parent 22a80f7 commit f3d12fec77a9d0e8b976fc44eae52c87e01f3bb9 @fl4via fl4via committed Jun 17, 2012
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;
}
/**

0 comments on commit f3d12fe

Please sign in to comment.
Something went wrong with that request. Please try again.