From 38b0ceefded0158b09e26bf64bdefc15830214fa Mon Sep 17 00:00:00 2001 From: rocket Date: Sat, 16 Oct 2021 03:09:39 +0300 Subject: [PATCH] (#1569) Pipeline: fix compilation warnings --- src/test/java/org/cactoos/scalar/AndTest.java | 4 ++-- src/test/java/org/cactoos/scalar/ItemAtTest.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/test/java/org/cactoos/scalar/AndTest.java b/src/test/java/org/cactoos/scalar/AndTest.java index d8c21f8294..0bb8b126f5 100644 --- a/src/test/java/org/cactoos/scalar/AndTest.java +++ b/src/test/java/org/cactoos/scalar/AndTest.java @@ -94,7 +94,7 @@ void testFuncIterable() throws Exception { MatcherAssert.assertThat( new And( input -> input > 0, - new IterableOf<>(1, -1, 0) + new IterableOf(1, -1, 0) ), new HasValue<>(false) ); @@ -105,7 +105,7 @@ void testFuncIterator() throws Exception { MatcherAssert.assertThat( new And( input -> input > 0, - new IterableOf<>(1, -1, 0) + new IterableOf(1, -1, 0) ), new HasValue<>(false) ); diff --git a/src/test/java/org/cactoos/scalar/ItemAtTest.java b/src/test/java/org/cactoos/scalar/ItemAtTest.java index be0d530f52..514d02db9f 100644 --- a/src/test/java/org/cactoos/scalar/ItemAtTest.java +++ b/src/test/java/org/cactoos/scalar/ItemAtTest.java @@ -57,7 +57,7 @@ void elementByPosFallbackIterableTest() { new Assertion<>( "must fallback to default one", new ItemAt<>( - 1, fallback, new IterableOf<>() + 1, fallback, new IterableOf() ), new HasValue<>(fallback) ).affirm(); @@ -69,7 +69,7 @@ void elementByPosNoFallbackIterableTest() { "must take the item by position from the iterable", new ItemAt<>( // @checkstyle MagicNumber (1 line) - 1, 5, new IterableOf<>(0, 1) + 1, 5, new IterableOf(0, 1) ), new HasValue<>(1) ).affirm();