A few variable type fixes

This commit is contained in:
Daniel Martí 2013-12-12 00:28:35 +01:00
parent ccbfa2744e
commit a0a2fe4cf0
3 changed files with 3 additions and 3 deletions

View File

@ -197,7 +197,7 @@ public class AppDetails extends ListActivity {
LinearLayout headerView;
View infoView;
private Context mctx = this;
private final Context mctx = this;
@Override
protected void onCreate(Bundle savedInstanceState) {

View File

@ -55,7 +55,7 @@ import org.fdroid.fdroid.compat.ContextCompat;
public class DB {
private static Semaphore dbSync = new Semaphore(1, true);
static DB dbInstance = null;
private static DB dbInstance = null;
// Initialise the database. Called once when the application starts up.
static void initDB(Context ctx) {

View File

@ -126,7 +126,7 @@ public class FDroidApp extends Application {
ImageLoader.getInstance().init(config);
}
Context ctx;
private Context ctx;
// Global list of all known applications.
private List<DB.App> apps;