Skip to content

Commit

Permalink
(#1569) Pipeline: fix compilation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
rocket-3 committed Oct 16, 2021
1 parent afced03 commit 38b0cee
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/test/java/org/cactoos/scalar/AndTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ void testFuncIterable() throws Exception {
MatcherAssert.assertThat(
new And(
input -> input > 0,
new IterableOf<>(1, -1, 0)
new IterableOf<Integer>(1, -1, 0)
),
new HasValue<>(false)
);
Expand All @@ -105,7 +105,7 @@ void testFuncIterator() throws Exception {
MatcherAssert.assertThat(
new And(
input -> input > 0,
new IterableOf<>(1, -1, 0)
new IterableOf<Integer>(1, -1, 0)
),
new HasValue<>(false)
);
Expand Down
4 changes: 2 additions & 2 deletions src/test/java/org/cactoos/scalar/ItemAtTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ void elementByPosFallbackIterableTest() {
new Assertion<>(
"must fallback to default one",
new ItemAt<>(
1, fallback, new IterableOf<>()
1, fallback, new IterableOf<Integer>()
),
new HasValue<>(fallback)
).affirm();
Expand All @@ -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<Integer>(0, 1)
),
new HasValue<>(1)
).affirm();
Expand Down

0 comments on commit 38b0cee

Please sign in to comment.