mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
that check is not reliable
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user