mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 18:28:00 +00:00
- CheckStyle.
This commit is contained in:
@@ -78,8 +78,12 @@ public class FightEffect extends SpellEffect {
|
||||
fighter2 = tgts.get(1);
|
||||
}
|
||||
|
||||
if (fighter1 != null) fighterList.add(fighter1);
|
||||
if (fighter2 != null) fighterList.add(fighter2);
|
||||
if (fighter1 != null) {
|
||||
fighterList.add(fighter1);
|
||||
}
|
||||
if (fighter2 != null) {
|
||||
fighterList.add(fighter2);
|
||||
}
|
||||
|
||||
return fighterList;
|
||||
}
|
||||
|
||||
@@ -357,13 +357,14 @@ public final class EditorTableModel<T extends InventoryItem> extends AbstractTab
|
||||
}
|
||||
|
||||
public TableSorterCascade<InventoryItem> getSorter() {
|
||||
if ( this.sorter == null )
|
||||
if (this.sorter == null) {
|
||||
this.sorter = createSorter();
|
||||
}
|
||||
return this.sorter;
|
||||
}
|
||||
|
||||
private TableSorterCascade<InventoryItem> createSorter()
|
||||
{
|
||||
private TableSorterCascade<InventoryItem> createSorter() {
|
||||
|
||||
final List<TableSorter<InventoryItem>> oneColSorters
|
||||
= new ArrayList<TableSorter<InventoryItem>>(maxSortDepth);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user