diff --git a/jnopo-talk/src/main/java/br/org/soujava/coffewithjava/jnopo/Ranking.java b/jnopo-talk/src/main/java/br/org/soujava/coffewithjava/jnopo/Ranking.java index 5a4c18f..cbf2ea8 100644 --- a/jnopo-talk/src/main/java/br/org/soujava/coffewithjava/jnopo/Ranking.java +++ b/jnopo-talk/src/main/java/br/org/soujava/coffewithjava/jnopo/Ranking.java @@ -12,6 +12,7 @@ public static Ranking winnerRanking(Playoffs playoffs) { return of(playoffs, g -> g.winner().name()); } + @WithSpan private static Ranking of(Playoffs playoffs, Function groupingFunction) { var data = playoffs.listNonTiedGameMatches()