Skip to content

Commit

Permalink
Cleanup code
Browse files Browse the repository at this point in the history
  • Loading branch information
Glavo committed Dec 31, 2024
1 parent b5f5c54 commit 0829f83
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,6 @@ static <E, U, T, Builder> T mapIndexed(
return factory.build(builder);
}


static <E, U, T, Builder> T mapIndexedNotNull(
@NotNull ImmutableSeq<? extends E> seq,
@NotNull IndexedFunction<? super E, ? extends U> mapper,
Expand All @@ -491,8 +490,7 @@ static <E, U, T, Builder> T mapIndexedNotNull(
for (E e : seq) {
U u = mapper.apply(idx++, e);
if (u != null) {
factory.addToBuilder(builder, u
);
factory.addToBuilder(builder, u);
}
}
return factory.build(builder);
Expand Down

0 comments on commit 0829f83

Please sign in to comment.