Skip to content

Commit

Permalink
#1644 unchecked
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Jul 16, 2022
1 parent d97a47b commit 7baa2c7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/test/java/org/cactoos/scalar/ItemAtTest.java
Expand Up @@ -52,6 +52,7 @@ void elementByPosIterableTest() {
}

@Test
@SuppressWarnings("unchecked")
void elementByPosFallbackIterableTest() {
final int fallback = 5;
new Assertion<>(
Expand All @@ -64,6 +65,7 @@ void elementByPosFallbackIterableTest() {
}

@Test
@SuppressWarnings("unchecked")
void elementByPosNoFallbackIterableTest() {
new Assertion<>(
"must take the item by position from the iterable",
Expand Down

1 comment on commit 7baa2c7

@0pdd
Copy link
Collaborator

@0pdd 0pdd commented on 7baa2c7 Jul 16, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Puzzle 898-3f27c8c5 discovered in src/main/java/org/cactoos/collection/Immutable.java) and submitted as #1645. Please, remember that the puzzle was not necessarily added in this particular commit. Maybe it was added earlier, but we discovered it only now.

Please sign in to comment.