diff options
author | Christopher Baines <cbaines8@gmail.com> | 2012-02-28 19:09:23 +0000 |
---|---|---|
committer | Christopher Baines <cbaines8@gmail.com> | 2012-02-28 19:09:23 +0000 |
commit | 0b5aefbe0ff01638dd264222c5368ad02a0fe1ee (patch) | |
tree | 2e6fdbd38ce7d97b757dcf365fe72aac7a163ddb /src/net/cbaines/suma/MapActivity.java | |
parent | ed7638698d439d75ada5120121a137f8e6f09bf8 (diff) | |
download | southamptonuniversitymap-0b5aefbe0ff01638dd264222c5368ad02a0fe1ee.tar southamptonuniversitymap-0b5aefbe0ff01638dd264222c5368ad02a0fe1ee.tar.gz |
Fixed two bugs relating to the query on the database not being ordered?, and implemented a new preference option.
Diffstat (limited to 'src/net/cbaines/suma/MapActivity.java')
-rw-r--r-- | src/net/cbaines/suma/MapActivity.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/cbaines/suma/MapActivity.java b/src/net/cbaines/suma/MapActivity.java index 8f555da..e2b9d66 100644 --- a/src/net/cbaines/suma/MapActivity.java +++ b/src/net/cbaines/suma/MapActivity.java @@ -389,7 +389,7 @@ public class MapActivity extends OrmLiteBaseActivity<DatabaseHelper> implements Dao<BusStop, String> busStopDao = helper.getBusStopDao(); Dao<BusRoute, Integer> busRouteDao = helper.getBusRouteDao(); - Dao<RouteStops, Integer> routeStopsDao = helper.getRouteStopsDao(); + Dao<RouteStop, Integer> routeStopsDao = helper.getRouteStopsDao(); long busStopCount = busStopDao.countOf(); long busRouteCount = busRouteDao.countOf(); |