All final strings became static - it will give a little perfomance boost, due to not instantiating same string every time

This commit is contained in:
vraskulin 2017-02-27 16:33:32 +03:00
parent 26ce8e0bcc
commit af3986df46
46 changed files with 56 additions and 56 deletions

View file

@ -86,8 +86,8 @@ public class NewTournamentDialog extends MageDialog {
private JTextArea txtRandomPacks;
private final List<TournamentPlayerPanel> players = new ArrayList<>();
private final List<JComboBox> packs = new ArrayList<>();
private final int CONSTRUCTION_TIME_MIN = 6;
private final int CONSTRUCTION_TIME_MAX = 30;
private static final int CONSTRUCTION_TIME_MIN = 6;
private static final int CONSTRUCTION_TIME_MAX = 30;
private boolean isRandom = false;
private boolean isRichMan = false;
private String cubeFromDeckFilename = "";