1
0
Fork 0
mirror of https://codeberg.org/beerbrawl/beerbrawl.git synced 2024-09-23 05:40:51 +02:00

chore(#29): backend: drop unused method from tournament service

Signed-off-by: Christoph Heiss <e11907069@student.tuwien.ac.at>
This commit is contained in:
Christoph Heiss 2024-05-30 14:16:53 +02:00 committed by Moritz Kepplinger
parent 6e67c543ac
commit c739a20922
2 changed files with 0 additions and 13 deletions

View file

@ -19,13 +19,6 @@ import at.ac.tuwien.sepr.groupphase.backend.exception.PreconditionFailedExceptio
import at.ac.tuwien.sepr.groupphase.backend.entity.Tournament.SignupTeamResult;
public interface TournamentService {
/**
* Find all tournament entries ordered by name.
*
* @return ordered list of all tournament entries
*/
List<Tournament> findAll();
/**
* Find all tournament entries from specified organizer ordered by name.
*

View file

@ -57,12 +57,6 @@ public class TournamentServiceImpl implements TournamentService {
private final BeerPongTableRepository beerPongTableRepository;
private KoStandingsRepository koStandingsRepository;
@Override
public List<Tournament> findAll() {
LOGGER.debug("Find all tournaments");
return tournamentRepository.findAllByOrderByNameAsc();
}
@Override
public List<Tournament> findAllByOrganizer(String organizerName) {
LOGGER.debug("Find all tournaments of Organizer");