less boilerplate

This commit is contained in:
Athou
2014-08-19 00:56:21 +02:00
parent 7205d5bb9c
commit 0888f11257
2 changed files with 10 additions and 41 deletions

View File

@@ -77,7 +77,7 @@ public class FeedFetcher {
Feed feed = fetchedFeed.getFeed();
feed.setLastModifiedHeader(result.getLastModifiedSince());
feed.setEtagHeader(FeedUtils.truncate(result.geteTag(), 255));
feed.setEtagHeader(FeedUtils.truncate(result.getETag(), 255));
feed.setLastContentHash(hash);
fetchedFeed.setFetchDuration(result.getDuration());
fetchedFeed.setUrlAfterRedirect(result.getUrlAfterRedirect());