- CheckStyle.

This commit is contained in:
Chris
2012-02-17 14:49:33 +00:00
parent 4bf610b677
commit 4ca06ed240
3 changed files with 25 additions and 17 deletions

View File

@@ -310,7 +310,11 @@ public class FModel {
return this.gameState; return this.gameState;
} }
/** TODO: Needs to be reworked for efficiency with rest of prefs saves in codebase. */ /**
* TODO: Needs to be reworked for efficiency with rest of prefs saves in codebase.
*
* @return a boolean.
*/
public final boolean savePrefs() { public final boolean savePrefs() {
final ForgePreferences fp = preferences; final ForgePreferences fp = preferences;
final List<ViewField> fieldViews = Singletons.getView().getMatchView().getFieldViews(); final List<ViewField> fieldViews = Singletons.getView().getMatchView().getFieldViews();
@@ -354,7 +358,11 @@ public class FModel {
return true; return true;
} }
/** TODO: Needs to be reworked for efficiency with rest of prefs loads in codebase. */ /**
* TODO: Needs to be reworked for efficiency with rest of prefs loads in codebase.
*
* @return a boolean.
*/
public final boolean loadPrefs() { public final boolean loadPrefs() {
final ForgePreferences fp = Singletons.getModel().getPreferences(); final ForgePreferences fp = Singletons.getModel().getPreferences();
final List<ViewField> fieldViews = Singletons.getView().getMatchView().getFieldViews(); final List<ViewField> fieldViews = Singletons.getView().getMatchView().getFieldViews();