diff -r 6fceb66e1ad7 -r ad210aa137a4 org/sonews/feed/FeedManager.java --- a/org/sonews/feed/FeedManager.java Fri Jun 26 16:48:50 2009 +0200 +++ b/org/sonews/feed/FeedManager.java Thu Aug 06 18:34:10 2009 +0200 @@ -18,10 +18,10 @@ package org.sonews.feed; -import java.sql.SQLException; import java.util.List; -import org.sonews.daemon.storage.Article; -import org.sonews.daemon.storage.Database; +import org.sonews.storage.Article; +import org.sonews.storage.StorageBackendException; +import org.sonews.storage.StorageManager; /** * Controlls push and pull feeder. @@ -42,9 +42,9 @@ * PullFeeder or PushFeeder. */ public static synchronized void startFeeding() - throws SQLException + throws StorageBackendException { - List subsPull = Database.getInstance() + List subsPull = StorageManager.current() .getSubscriptions(TYPE_PULL); for(Subscription sub : subsPull) { @@ -52,7 +52,7 @@ } pullFeeder.start(); - List subsPush = Database.getInstance() + List subsPush = StorageManager.current() .getSubscriptions(TYPE_PUSH); for(Subscription sub : subsPush) {