projects
/
JavaForFun
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d743b7c
)
WeatherInformation: TODO static resource fresh time
author
gu.martinm@gmail.com
<gu.martinm@gmail.com>
Tue, 23 Sep 2014 18:15:11 +0000
(20:15 +0200)
committer
gu.martinm@gmail.com
<gu.martinm@gmail.com>
Tue, 23 Sep 2014 18:15:11 +0000
(20:15 +0200)
Android/WeatherInformation/src/de/example/exampletdd/fragment/current/CurrentFragment.java
patch
|
blob
|
history
Android/WeatherInformation/src/de/example/exampletdd/fragment/overview/OverviewFragment.java
patch
|
blob
|
history
diff --git
a/Android/WeatherInformation/src/de/example/exampletdd/fragment/current/CurrentFragment.java
b/Android/WeatherInformation/src/de/example/exampletdd/fragment/current/CurrentFragment.java
index
b9737a7
..
502d95d
100644
(file)
--- a/
Android/WeatherInformation/src/de/example/exampletdd/fragment/current/CurrentFragment.java
+++ b/
Android/WeatherInformation/src/de/example/exampletdd/fragment/current/CurrentFragment.java
@@
-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;
}
diff --git
a/Android/WeatherInformation/src/de/example/exampletdd/fragment/overview/OverviewFragment.java
b/Android/WeatherInformation/src/de/example/exampletdd/fragment/overview/OverviewFragment.java
index
28da6cf
..
edc0d7a
100644
(file)
--- a/
Android/WeatherInformation/src/de/example/exampletdd/fragment/overview/OverviewFragment.java
+++ b/
Android/WeatherInformation/src/de/example/exampletdd/fragment/overview/OverviewFragment.java
@@
-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;
}