/[projects]/android/TrainInfoService/src/dk/thoerup/traininfoservice/banedk/DepartureFetcher.java
ViewVC logotype

Diff of /android/TrainInfoService/src/dk/thoerup/traininfoservice/banedk/DepartureFetcher.java

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

revision 979 by torben, Sat Jul 10 10:53:44 2010 UTC revision 980 by torben, Sat Jul 10 11:01:07 2010 UTC
# Line 43  public class DepartureFetcher { Line 43  public class DepartureFetcher {
43                    
44          public DepartureBean cachedLookupDepartures(int stationID, boolean arrival) throws Exception {          public DepartureBean cachedLookupDepartures(int stationID, boolean arrival) throws Exception {
45                  final String key = "" + stationID + ":" + arrival;                  final String key = "" + stationID + ":" + arrival;
46                  /*                  
47                  DepartureBean departureBean = cache.get(key);                  DepartureBean departureBean = cache.get(key);
48    
49                                    
# Line 54  public class DepartureFetcher { Line 54  public class DepartureFetcher {
54                          Statistics.getInstance().incrementDepartureCacheHits();                          Statistics.getInstance().incrementDepartureCacheHits();
55                          logger.info("Departure: Cache hit " + key); //remove before production                          logger.info("Departure: Cache hit " + key); //remove before production
56                  }                  }
57                  return departureBean;*/                  return departureBean;
                   
                 return lookupDepartures(stationID,arrival);  
58          }          }
59                                    
60    

Legend:
Removed from v.979  
changed lines
  Added in v.980

  ViewVC Help
Powered by ViewVC 1.1.20