Skip to content

Commit

Permalink
additional Lombok usage
Browse files Browse the repository at this point in the history
  • Loading branch information
igorakkerman committed May 19, 2016
1 parent c496fdc commit 9e07e82
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

package org.jlib.container.operation;

import org.jlib.iterator.IterableUtility;
import org.jlib.iterator.Iterables;

public class FromIteratorIsEmpty<Item>
implements IsEmpty<Item> {
Expand All @@ -36,6 +36,6 @@ public FromIteratorIsEmpty(final Iterable<Item> iterable) {
@Override
public boolean isEmpty()
throws InvalidContainerStateException {
return IterableUtility.isEmpty(iterable);
return Iterables.isEmpty(iterable);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

import org.checkerframework.checker.nullness.qual.Nullable;
import org.jlib.basefunctions.Equals;
import static org.jlib.iterator.IterableUtility.provideEqualItems;
import static org.jlib.iterator.Iterables.provideEqualItems;

public final class IterativeEquals<Item>
implements Equals<Iterable<Item>> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
import org.jlib.container.operation.InvalidContainerArgumentException;
import org.jlib.container.operation.InvalidContainerStateException;

import org.jlib.iterator.IterableUtility;
import org.jlib.iterator.Iterables;

public class IterativeContainsAdapter<Item>
extends ContainsAdapter<Item> {
Expand All @@ -37,6 +37,6 @@ public IterativeContainsAdapter(final Iterable<Item> items) {
public final boolean contains(final Item item)
throws InvalidContainerArgumentException, InvalidContainerStateException {

return IterableUtility.contains(getItems(), item);
return Iterables.contains(getItems(), item);
}
}

0 comments on commit 9e07e82

Please sign in to comment.