new fetchedfeed class

This commit is contained in:
Athou
2013-04-25 12:30:21 +02:00
parent 3cbdbcc6f7
commit effa009241
6 changed files with 81 additions and 62 deletions

View File

@@ -88,7 +88,7 @@ public class FeedREST extends AbstractResourceREST {
url = prependHttp(url);
Feed feed = null;
try {
feed = feedFetcher.fetch(url, true, null, null);
feed = feedFetcher.fetch(url, true, null, null).getFeed();
} catch (Exception e) {
throw new WebApplicationException(e, Response
.status(Status.INTERNAL_SERVER_ERROR)