From 0fcab68d2790df6a9ec1f28e98b0f27989ae8940 Mon Sep 17 00:00:00 2001 From: Maximillian Arruda Date: Mon, 26 Feb 2024 19:05:44 -0300 Subject: [PATCH] refactor: rename methods Signed-off-by: Maximillian Arruda --- .../main/java/br/org/soujava/coffewithjava/jnopo/Ranking.java | 1 + 1 file changed, 1 insertion(+) 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()