Skip to content

Commit

Permalink
Use lambda
Browse files Browse the repository at this point in the history
  • Loading branch information
Rakambda committed Oct 25, 2024
1 parent aa94f79 commit 7fa0f65
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ private void updateCampaigns(@NotNull Streamer streamer){
.map(DropsHighlightServiceAvailableDropsData::getChannel)
.map(Channel::getViewerDropCampaigns)
.flatMap(Collection::stream)
.filter(dropCampaign -> isDismissibleGlobalCompaign(dropCampaign))
.filter(this::isDismissibleGlobalCompaign)
.forEach(dropCampaign -> dismissCampaign(miner, streamer, dropCampaign));
}
}
Expand Down

0 comments on commit 7fa0f65

Please sign in to comment.