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:
parent
6e67c543ac
commit
c739a20922
|
@ -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.
|
||||
*
|
||||
|
|
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue