diff options
| author | Samuel Tardieu <sam@rfc1149.net> | 2013-09-13 09:30:03 +0200 |
|---|---|---|
| committer | Samuel Tardieu <sam@rfc1149.net> | 2013-09-13 09:46:36 +0200 |
| commit | 1682653cd798bfab721cd1bd53cecf5a90ca98b2 (patch) | |
| tree | 0c0dacff7e5f801523f4e0f9c764745fd7dd2fee /main/src/cgeo/geocaching/DataStore.java | |
| parent | 48f881c71cb3ea50794c83d9d2ada091fc6c86c2 (diff) | |
| download | cgeo-1682653cd798bfab721cd1bd53cecf5a90ca98b2.zip cgeo-1682653cd798bfab721cd1bd53cecf5a90ca98b2.tar.gz cgeo-1682653cd798bfab721cd1bd53cecf5a90ca98b2.tar.bz2 | |
refactoring: cgeoapplication -> CgeoApplication
Diffstat (limited to 'main/src/cgeo/geocaching/DataStore.java')
| -rw-r--r-- | main/src/cgeo/geocaching/DataStore.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/main/src/cgeo/geocaching/DataStore.java b/main/src/cgeo/geocaching/DataStore.java index d66b471..93067b8 100644 --- a/main/src/cgeo/geocaching/DataStore.java +++ b/main/src/cgeo/geocaching/DataStore.java @@ -294,7 +294,7 @@ public class DataStore { } try { - final DbHelper dbHelper = new DbHelper(new DBContext(cgeoapplication.getInstance())); + final DbHelper dbHelper = new DbHelper(new DBContext(CgeoApplication.getInstance())); database = dbHelper.getWritableDatabase(); } catch (Exception e) { Log.e("DataStore.init: unable to open database for R/W", e); @@ -2484,7 +2484,7 @@ public class DataStore { public static List<StoredList> getLists() { init(); - final Resources res = cgeoapplication.getInstance().getResources(); + final Resources res = CgeoApplication.getInstance().getResources(); final List<StoredList> lists = new ArrayList<StoredList>(); lists.add(new StoredList(StoredList.STANDARD_LIST_ID, res.getString(R.string.list_inbox), (int) PreparedStatements.getCountCachesOnStandardList().simpleQueryForLong())); @@ -2536,7 +2536,7 @@ public class DataStore { } } - Resources res = cgeoapplication.getInstance().getResources(); + Resources res = CgeoApplication.getInstance().getResources(); if (id == StoredList.ALL_LIST_ID) { return new StoredList(StoredList.ALL_LIST_ID, res.getString(R.string.list_all_lists), getAllCachesCount()); } |
