/*
 * Copyright 2014 A.C.R. Development
 */
package acr.browser.lightning;

public class SettingsController {

	static boolean clearHistory = false;

	/**
	 * The purpose of this class is so that I can clear the dropdown history in the main activities if the user selects
	 * to clear the history from the disk in advanced settings
	 */
	static void setClearHistory(boolean choice) {
		clearHistory = choice;
	}

	/**
	 * return the choice
	 */
	static boolean getClearHistory() {
		if (clearHistory) {
			clearHistory = false;
			return true;
		}
		return clearHistory;
	}
}

@@ -105,16 +105,24 @@
 ler %7B%0A%0A%09
+private 
 static b
@@ -140,24 +140,16 @@
 rHistory
- = false
 ;%0A%0A%09/**%0A
@@ -327,24 +327,31 @@
 tings%0A%09 */%0A%09
+public 
 static void 
@@ -446,16 +446,23 @@
 e%0A%09 */%0A%09
+public 
 static b
@@ -564,27 +564,20 @@
 %09return 
-clearHistory
+false
 ;%0A%09%7D%0A%7D%0A

Add missing 'private' and 'public' access' modifiers, fix warnings