that check is not reliable

This commit is contained in:
Athou
2013-04-27 10:49:15 +02:00
parent 0fb6c6c40c
commit afcfebdc36

View File

@@ -78,12 +78,6 @@ public class FeedRefreshWorker {
try {
fetchedFeed = fetcher.fetch(feed.getUrl(), false,
feed.getLastModifiedHeader(), feed.getEtagHeader());
if (fetchedFeed.getPublishedDate() != null
&& feed.getLastUpdateSuccess() != null
&& fetchedFeed.getPublishedDate().before(
feed.getLastUpdateSuccess())) {
throw new NotModifiedException();
}
feed.setLastUpdateSuccess(Calendar.getInstance().getTime());
} catch (NotModifiedException e) {
modified = false;