mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 04:08:01 +00:00
Suppress warnings
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package forge.tournament.system;
|
||||
|
||||
import com.thoughtworks.xstream.io.HierarchicalStreamWriter;
|
||||
|
||||
import forge.LobbyPlayer;
|
||||
import forge.player.GamePlayerUtil;
|
||||
import forge.util.MyRandom;
|
||||
@@ -10,6 +11,7 @@ import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
|
||||
@SuppressWarnings("serial")
|
||||
public abstract class AbstractTournament implements Serializable {
|
||||
protected int activeRound;
|
||||
protected int totalRounds;
|
||||
|
||||
@@ -3,6 +3,7 @@ package forge.tournament.system;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
@SuppressWarnings("serial")
|
||||
public class TournamentBracket extends AbstractTournament {
|
||||
// Bracket implies single elimination. For non-single elimination, use Swiss or RoundRobin
|
||||
public TournamentBracket(int ttlRnds, int pairingAmount) {
|
||||
|
||||
@@ -2,6 +2,7 @@ package forge.tournament.system;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@SuppressWarnings("serial")
|
||||
public class TournamentRoundRobin extends AbstractTournament {
|
||||
// Round Robin tournaments where you play everyone in your group/pod. Declare winner or break to top X
|
||||
public TournamentRoundRobin(int ttlRnds, List<TournamentPlayer> allPlayers) {
|
||||
|
||||
@@ -2,6 +2,7 @@ package forge.tournament.system;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@SuppressWarnings("serial")
|
||||
public class TournamentSwiss extends AbstractTournament {
|
||||
|
||||
public TournamentSwiss(int ttlRnds, List<TournamentPlayer> allPlayers) {
|
||||
|
||||
Reference in New Issue
Block a user