/[projects]/android/TrainInfo/src/dk/thoerup/traininfo/provider/XmlStationProvider.java
ViewVC logotype

Diff of /android/TrainInfo/src/dk/thoerup/traininfo/provider/XmlStationProvider.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1077 by torben, Sat Sep 18 07:16:40 2010 UTC revision 1160 by torben, Mon Oct 4 08:42:12 2010 UTC
# Line 18  public class XmlStationProvider implemen Line 18  public class XmlStationProvider implemen
18                    
19          final static int CACHE_TIMEOUT = 300*1000;          final static int CACHE_TIMEOUT = 300*1000;
20    
21          //List<StationBean> stations = new ArrayList<StationBean>();      
22          AndroidTimeoutCache<String, StationBean> stationCache = new AndroidTimeoutCache<String, StationBean>(CACHE_TIMEOUT);          AndroidTimeoutCache<String, StationBean> stationCache = new AndroidTimeoutCache<String, StationBean>(CACHE_TIMEOUT);
23                    
24    
# Line 100  public class XmlStationProvider implemen Line 100  public class XmlStationProvider implemen
100                          return null;                          return null;
101                  }                  }
102          }          }
103            
104            @Override
105            public void purgeOldEntries() {
106                    stationCache.purgeOldEntries();        
107            }
108  }  }

Legend:
Removed from v.1077  
changed lines
  Added in v.1160

  ViewVC Help
Powered by ViewVC 1.1.20