minor javadoc change

This commit is contained in:
Mark Fisher
2010-10-27 13:29:30 -04:00
committed by Chris Beams
parent 274be8b296
commit 562f4d3dd1

View File

@@ -77,23 +77,18 @@ public class FeedEntryMessageSource extends IntegrationObjectSupport implements
private final Object feedMonitor = new Object();
/**
* Will create a default HttpURLFeedFetcher. If URL is other then http*
* then consider providing custom implementation of the {@link FeedFetcher}
* and use the other constructor.
* @param feedUrl
* Creates a FeedEntryMessageSource that will use a HttpURLFeedFetcher to read feeds from the given URL.
* If the feed URL has a protocol other than http*, consider providing a custom implementation of the
* {@link FeedFetcher} via the alternate constructor.
*/
public FeedEntryMessageSource(URL feedUrl) {
this(feedUrl, new HttpURLFeedFetcher(HashMapFeedInfoCache.getInstance()));
}
/**
* Will allow you to provide not only URL but the custom implementation
* of the {@link FeedFetcher}
* @param feedUrl
* @param feedFetcher
* Creates a FeedEntryMessageSource that will use the provided FeedFetcher to read from the given feed URL.
*/
public FeedEntryMessageSource(URL feedUrl, FeedFetcher feedFetcher) {
Assert.notNull(feedUrl, "feedUrl must not be null");