Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
akiezun committed Jun 17, 2015
1 parent 29857ea commit 38d5973
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public IndexedSet(final E... values) {
indexByElement = new HashMap<>(initialCapacity);
int nextIndex = 0;
for (final E value : values) {
Utils.nonNull(values, "null element not allowed: index == " + nextIndex);
Utils.nonNull(value, "null element not allowed: index == " + nextIndex);

if (indexByElement.containsKey(value)) {
continue;
Expand Down

0 comments on commit 38d5973

Please sign in to comment.