Skip to content

Commit

Permalink
(yegor256#1568) Generify Skipped
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitryBarskov committed Jun 29, 2021
1 parent 605de83 commit 52331ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/cactoos/iterable/Skipped.java
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public Skipped(final int skip, final T... src) {
* @param skip Count skip elements
* @param iterable Decorated iterable
*/
public Skipped(final int skip, final Iterable<T> iterable) {
public Skipped(final int skip, final Iterable<? extends T> iterable) {
super(
new IterableOf<>(
() -> new org.cactoos.iterator.Skipped<>(
Expand Down

0 comments on commit 52331ae

Please sign in to comment.