Skip to content

Commit

Permalink
fix bug in ImmutableArraySet.containsAll where it would return true i…
Browse files Browse the repository at this point in the history
…f a single element was contained in the set
  • Loading branch information
stuartwdouglas committed Jul 23, 2010
1 parent 807e1f0 commit 9b007f8
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -112,12 +112,12 @@ public boolean containsAll(Collection<?> c)
{
for (Object object : c)
{
if (contains(object))
if (!contains(object))
{
return true;
return false;
}
}
return false;
return true;
}

public boolean isEmpty()
Expand Down

0 comments on commit 9b007f8

Please sign in to comment.