WeatherInformation: TODO static resource fresh time
authorgu.martinm@gmail.com <gu.martinm@gmail.com>
Tue, 23 Sep 2014 18:15:11 +0000 (20:15 +0200)
committergu.martinm@gmail.com <gu.martinm@gmail.com>
Tue, 23 Sep 2014 18:15:11 +0000 (20:15 +0200)
src/de/example/exampletdd/fragment/current/CurrentFragment.java
src/de/example/exampletdd/fragment/overview/OverviewFragment.java

index b9737a7..502d95d 100644 (file)
@@ -318,6 +318,7 @@ public class CurrentFragment extends Fragment {
        }
        
        final Date currentTime = new Date();
+       // TODO: static resource instead of 120000L
        if (((currentTime.getTime() - lastUpdate.getTime())) < 120000L) {
                return true;
        }
index 28da6cf..edc0d7a 100644 (file)
@@ -295,6 +295,7 @@ public class OverviewFragment extends ListFragment {
        }
        
        final Date currentTime = new Date();
+       // TODO: static resource instead of 120000L
        if (((currentTime.getTime() - lastUpdate.getTime())) < 120000L) {
                return true;
        }