From 015d62dd99ea3d237cbb1f4c7de1f625afa66f2b Mon Sep 17 00:00:00 2001 From: fdai7920 Date: Tue, 30 Jan 2024 16:19:35 +0100 Subject: [PATCH] Refactoring: addOpponents calling addPlayerToList --- src/main/java/de/hsfulda/onses/services/PlayerService.java | 2 +- src/test/java/de/hsfulda/onses/PlayerServiceTest.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/de/hsfulda/onses/services/PlayerService.java b/src/main/java/de/hsfulda/onses/services/PlayerService.java index fff2fb6..ed36463 100644 --- a/src/main/java/de/hsfulda/onses/services/PlayerService.java +++ b/src/main/java/de/hsfulda/onses/services/PlayerService.java @@ -22,7 +22,7 @@ public class PlayerService { public void addOpponents(int amount) { for (int i=0; i