mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
This list doesn't need to be instantiated like an array
This commit is contained in:
@@ -603,7 +603,7 @@ public class VLobby implements ILobbyView {
|
||||
public JPanel getConstructedFrame() { return constructedFrame; }
|
||||
public JPanel getPanelStart() { return pnlStart; }
|
||||
public List<FDeckChooser> getDeckChoosers() {
|
||||
List<FDeckChooser> choosers = new ArrayList<>(playerPanels.size());
|
||||
List<FDeckChooser> choosers = Lists.newArrayList();
|
||||
for (final PlayerPanel playerPanel : playerPanels) {
|
||||
choosers.add(playerPanel.getDeckChooser());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user