org/sonews/feed/FeedManager.java
changeset 27 d879bab39600
parent 3 2fdc9cc89502
     1.1 --- a/org/sonews/feed/FeedManager.java	Wed Jul 22 14:04:05 2009 +0200
     1.2 +++ b/org/sonews/feed/FeedManager.java	Tue Apr 27 22:11:30 2010 +0200
     1.3 @@ -18,10 +18,7 @@
     1.4  
     1.5  package org.sonews.feed;
     1.6  
     1.7 -import java.util.List;
     1.8  import org.sonews.storage.Article;
     1.9 -import org.sonews.storage.StorageBackendException;
    1.10 -import org.sonews.storage.StorageManager;
    1.11  
    1.12  /**
    1.13   * Controlls push and pull feeder.
    1.14 @@ -42,22 +39,8 @@
    1.15     * PullFeeder or PushFeeder.
    1.16     */
    1.17    public static synchronized void startFeeding()
    1.18 -    throws StorageBackendException
    1.19    {
    1.20 -    List<Subscription> subsPull = StorageManager.current()
    1.21 -      .getSubscriptions(TYPE_PULL);
    1.22 -    for(Subscription sub : subsPull)
    1.23 -    {
    1.24 -      pullFeeder.addSubscription(sub);
    1.25 -    }
    1.26      pullFeeder.start();
    1.27 -    
    1.28 -    List<Subscription> subsPush = StorageManager.current()
    1.29 -      .getSubscriptions(TYPE_PUSH);
    1.30 -    for(Subscription sub : subsPush)
    1.31 -    {
    1.32 -      pushFeeder.addSubscription(sub);
    1.33 -    }
    1.34      pushFeeder.start();
    1.35    }
    1.36