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

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