/[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 1558 by torben, Wed Oct 6 10:42:51 2010 UTC revision 1559 by torben, Fri Jul 8 13:58:21 2011 UTC
# Line 22  public class XmlStationProvider implemen Line 22  public class XmlStationProvider implemen
22          AndroidTimeoutCache<String, StationBean> stationCache = new AndroidTimeoutCache<String, StationBean>(CACHE_TIMEOUT);          AndroidTimeoutCache<String, StationBean> stationCache = new AndroidTimeoutCache<String, StationBean>(CACHE_TIMEOUT);
23                    
24    
25          double roundToPlaces(double value, int places) {          static double roundToPlaces(double value, int places) {
26                  double pow = Math.pow(10, places);                  double pow = Math.pow(10, places);
27                  double temp = Math.round( value*pow );                  double temp = Math.round( value*pow );
28                                    

Legend:
Removed from v.1558  
changed lines
  Added in v.1559

  ViewVC Help
Powered by ViewVC 1.1.20