package beaform.debug;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.Future;

public class AsyncDebugUtils {
	private static final ExecutorService EXECUTOR = Executors.newSingleThreadExecutor();

	public static Future<String> clearDb() {
		return EXECUTOR.submit(new ClearDbTask(), "Done");
	}

	public static Future<String> listAllFormulas() {
		return EXECUTOR.submit(new ListFormulasTask(), "Done");
	}

	public static Future<String> fillDb() {
		return EXECUTOR.submit(new FillDbTask(), "Done");
	}
}

@@ -145,16 +145,22 @@
 %0Apublic 
+final 
 class As
@@ -175,16 +175,17 @@
 Utils %7B%0A
+%0A
 %09private
@@ -263,16 +263,101 @@
 tor();%0A%0A
+%09private AsyncDebugUtils() %7B%0A%09%09// Utility classes don't need public constructors%0A%09%7D%0A%0A
 %09public 

Mark this class as a utility class