- CheckStyle.

This commit is contained in:
Chris
2012-11-30 19:27:09 +00:00
parent 3642d5c5d1
commit 5551bcd55f
9 changed files with 25 additions and 20 deletions

View File

@@ -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;
}

View File

@@ -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);