diff --git a/src/main/java/org/cactoos/scalar/AndWithIndex.java b/src/main/java/org/cactoos/scalar/AndWithIndex.java index 799720287..13c1a6388 100644 --- a/src/main/java/org/cactoos/scalar/AndWithIndex.java +++ b/src/main/java/org/cactoos/scalar/AndWithIndex.java @@ -68,7 +68,7 @@ public final class AndWithIndex implements Scalar { /** * The iterator. */ - private final Iterable> iterable; + private final Iterable> iterable; /** * Ctor. @@ -77,7 +77,7 @@ public final class AndWithIndex implements Scalar { * @param Type of items in the iterable */ @SafeVarargs - public AndWithIndex(final Proc proc, final X... src) { + public AndWithIndex(final Proc proc, final X... src) { this(new BiFuncOf<>(proc, true), src); } @@ -88,7 +88,7 @@ public AndWithIndex(final Proc proc, final X... src) { * @param Type of items in the iterable */ @SafeVarargs - public AndWithIndex(final BiFunc func, + public AndWithIndex(final BiFunc func, final X... src) { this(func, new IterableOf<>(src)); } @@ -100,8 +100,8 @@ public AndWithIndex(final BiFunc func, * @param Type of items in the iterable * @since 0.24 */ - public AndWithIndex(final BiProc proc, - final Iterable src) { + public AndWithIndex(final BiProc proc, + final Iterable src) { this(new BiFuncOf<>(proc, true), src); } @@ -112,8 +112,8 @@ public AndWithIndex(final BiProc proc, * @param Type of items in the iterable * @since 0.24 */ - public AndWithIndex(final BiFunc func, - final Iterable src) { + public AndWithIndex(final BiFunc func, + final Iterable src) { this( new Mapped<>( item -> new FuncOf<>(input -> func.apply(item, input)), @@ -135,7 +135,7 @@ public AndWithIndex(final Func... src) { * Ctor. * @param src The iterable */ - public AndWithIndex(final Iterable> src) { + public AndWithIndex(final Iterable> src) { this.iterable = src; }