various updates recommended by intelliJ

Former-commit-id: 2909f6b33224c74a2984f94651f6418bf60d88fc
This commit is contained in:
Jeremy Long
2013-05-20 22:50:21 -04:00
parent 577b5ad704
commit a939d0c844
13 changed files with 53 additions and 55 deletions

View File

@@ -67,13 +67,13 @@ public class Engine {
* Creates a new Engine.
*/
public Engine() {
boolean autoupdate = true;
boolean autoUpdate = true;
try {
autoupdate = Settings.getBoolean(Settings.KEYS.AUTO_UPDATE);
autoUpdate = Settings.getBoolean(Settings.KEYS.AUTO_UPDATE);
} catch (InvalidSettingException ex) {
Logger.getLogger(Engine.class.getName()).log(Level.WARNING, "Invalid setting for auto-update.");
}
if (autoupdate) {
if (autoUpdate) {
doUpdates();
}
loadAnalyzers();