--- android/TrainInfoServiceGoogle/src/dk/thoerup/traininfoservice/banedk/TimetableFetcher.java 2010/09/21 20:11:29 1094 +++ android/TrainInfoServiceGoogle/src/dk/thoerup/traininfoservice/banedk/TimetableFetcher.java 2010/09/21 20:14:34 1095 @@ -67,7 +67,7 @@ TimetableBean cachedLookupTimetable(String trainID, String type) throws Exception { String key = trainID+type; - TimetableBean list = cache.get(key); + TimetableBean list = (TimetableBean) cache.get(key); if (list == null) { list = lookupTimetable(trainID,type); @@ -89,7 +89,7 @@ } int getStationId(String name) { - Integer id = stationCache.get(name); + Integer id = (Integer) stationCache.get(name); if (id == null) { try {