diff --git a/rome-fetcher/src/main/java/com/rometools/fetcher/FeedFetcher.java b/rome-fetcher/src/main/java/com/rometools/fetcher/FeedFetcher.java index 4425101..c22a887 100644 --- a/rome-fetcher/src/main/java/com/rometools/fetcher/FeedFetcher.java +++ b/rome-fetcher/src/main/java/com/rometools/fetcher/FeedFetcher.java @@ -22,6 +22,11 @@ import java.net.URL; import com.rometools.rome.feed.synd.SyndFeed; import com.rometools.rome.io.FeedException; +/** + * @deprecated ROME Fetcher will be dropped in the next major version of ROME (version 2). For more information and some migration hints, + * please have a look at our detailed explanation. + */ +@Deprecated public interface FeedFetcher { /** *
diff --git a/rome-fetcher/src/main/java/com/rometools/fetcher/FetcherEvent.java b/rome-fetcher/src/main/java/com/rometools/fetcher/FetcherEvent.java index 6ed4a0c..547b8de 100644 --- a/rome-fetcher/src/main/java/com/rometools/fetcher/FetcherEvent.java +++ b/rome-fetcher/src/main/java/com/rometools/fetcher/FetcherEvent.java @@ -10,7 +10,11 @@ import com.rometools.rome.feed.synd.SyndFeed; * fields final. * * @author nl + * + * @deprecated ROME Fetcher will be dropped in the next major version of ROME (version 2). For more information and some migration hints, + * please have a look at our detailed explanation. */ +@Deprecated public class FetcherEvent extends EventObject { private static final long serialVersionUID = 1L; diff --git a/rome-fetcher/src/main/java/com/rometools/fetcher/FetcherException.java b/rome-fetcher/src/main/java/com/rometools/fetcher/FetcherException.java index 447ab2f..14f00f0 100644 --- a/rome-fetcher/src/main/java/com/rometools/fetcher/FetcherException.java +++ b/rome-fetcher/src/main/java/com/rometools/fetcher/FetcherException.java @@ -19,7 +19,10 @@ package com.rometools.fetcher; /** * @author Nick Lothian * + * @deprecated ROME Fetcher will be dropped in the next major version of ROME (version 2). For more information and some migration hints, + * please have a look at our detailed explanation. */ +@Deprecated public class FetcherException extends Exception { private static final long serialVersionUID = 1L; diff --git a/rome-fetcher/src/main/java/com/rometools/fetcher/FetcherListener.java b/rome-fetcher/src/main/java/com/rometools/fetcher/FetcherListener.java index 617532c..48f4af7 100644 --- a/rome-fetcher/src/main/java/com/rometools/fetcher/FetcherListener.java +++ b/rome-fetcher/src/main/java/com/rometools/fetcher/FetcherListener.java @@ -2,6 +2,11 @@ package com.rometools.fetcher; import java.util.EventListener; +/** + * @deprecated ROME Fetcher will be dropped in the next major version of ROME (version 2). For more information and some migration hints, + * please have a look at our detailed explanation. + */ +@Deprecated public interface FetcherListener extends EventListener { /** diff --git a/rome-fetcher/src/main/java/com/rometools/fetcher/impl/AbstractFeedFetcher.java b/rome-fetcher/src/main/java/com/rometools/fetcher/impl/AbstractFeedFetcher.java index fc3dce5..71db0e1 100644 --- a/rome-fetcher/src/main/java/com/rometools/fetcher/impl/AbstractFeedFetcher.java +++ b/rome-fetcher/src/main/java/com/rometools/fetcher/impl/AbstractFeedFetcher.java @@ -34,6 +34,11 @@ import com.rometools.fetcher.FetcherException; import com.rometools.fetcher.FetcherListener; import com.rometools.rome.feed.synd.SyndFeed; +/** + * @deprecated ROME Fetcher will be dropped in the next major version of ROME (version 2). For more information and some migration hints, + * please have a look at our detailed explanation. + */ +@Deprecated public abstract class AbstractFeedFetcher implements FeedFetcher { private static final Logger LOG = LoggerFactory.getLogger(AbstractFeedFetcher.class); diff --git a/rome-fetcher/src/main/java/com/rometools/fetcher/impl/AbstractFeedFetcherBeanInfo.java b/rome-fetcher/src/main/java/com/rometools/fetcher/impl/AbstractFeedFetcherBeanInfo.java index 5bac21e..3860793 100644 --- a/rome-fetcher/src/main/java/com/rometools/fetcher/impl/AbstractFeedFetcherBeanInfo.java +++ b/rome-fetcher/src/main/java/com/rometools/fetcher/impl/AbstractFeedFetcherBeanInfo.java @@ -7,6 +7,11 @@ import java.lang.reflect.Method; import com.rometools.fetcher.FetcherEvent; import com.rometools.fetcher.FetcherListener; +/** + * @deprecated ROME Fetcher will be dropped in the next major version of ROME (version 2). For more information and some migration hints, + * please have a look at our detailed explanation. + */ +@Deprecated public class AbstractFeedFetcherBeanInfo extends SimpleBeanInfo { @Override diff --git a/rome-fetcher/src/main/java/com/rometools/fetcher/impl/DiskFeedInfoCache.java b/rome-fetcher/src/main/java/com/rometools/fetcher/impl/DiskFeedInfoCache.java index 92bc9b1..4817b12 100644 --- a/rome-fetcher/src/main/java/com/rometools/fetcher/impl/DiskFeedInfoCache.java +++ b/rome-fetcher/src/main/java/com/rometools/fetcher/impl/DiskFeedInfoCache.java @@ -28,7 +28,11 @@ import com.rometools.utils.IO; /** * Disk based feed cache. + * + * @deprecated ROME Fetcher will be dropped in the next major version of ROME (version 2). For more information and some migration hints, + * please have a look at our detailed explanation. */ +@Deprecated public class DiskFeedInfoCache implements FeedFetcherCache { protected String cachePath = null; diff --git a/rome-fetcher/src/main/java/com/rometools/fetcher/impl/FeedFetcherCache.java b/rome-fetcher/src/main/java/com/rometools/fetcher/impl/FeedFetcherCache.java index 4c0ff0a..286c910 100644 --- a/rome-fetcher/src/main/java/com/rometools/fetcher/impl/FeedFetcherCache.java +++ b/rome-fetcher/src/main/java/com/rometools/fetcher/impl/FeedFetcherCache.java @@ -25,8 +25,11 @@ import java.net.URL; *
* * @author Nick Lothian - * + * + * @deprecated ROME Fetcher will be dropped in the next major version of ROME (version 2). For more information and some migration hints, + * please have a look at our detailed explanation. */ +@Deprecated public interface FeedFetcherCache { /** diff --git a/rome-fetcher/src/main/java/com/rometools/fetcher/impl/HashMapFeedInfoCache.java b/rome-fetcher/src/main/java/com/rometools/fetcher/impl/HashMapFeedInfoCache.java index 7508ce7..5e5a20a 100644 --- a/rome-fetcher/src/main/java/com/rometools/fetcher/impl/HashMapFeedInfoCache.java +++ b/rome-fetcher/src/main/java/com/rometools/fetcher/impl/HashMapFeedInfoCache.java @@ -35,8 +35,11 @@ import java.util.Map; * * * @author Nick Lothian - * + * + * @deprecated ROME Fetcher will be dropped in the next major version of ROME (version 2). For more information and some migration hints, + * please have a look at our detailed explanation. */ +@Deprecated public class HashMapFeedInfoCache implements FeedFetcherCache, Serializable { private static final long serialVersionUID = 1L; diff --git a/rome-fetcher/src/main/java/com/rometools/fetcher/impl/HttpClientFeedFetcher.java b/rome-fetcher/src/main/java/com/rometools/fetcher/impl/HttpClientFeedFetcher.java index 3c0b55a..0e307f9 100644 --- a/rome-fetcher/src/main/java/com/rometools/fetcher/impl/HttpClientFeedFetcher.java +++ b/rome-fetcher/src/main/java/com/rometools/fetcher/impl/HttpClientFeedFetcher.java @@ -46,7 +46,11 @@ import com.rometools.utils.IO; /** * @author Nick Lothian + * + * @deprecated HttpClient v3 is known to have some security vulnerabilities! In addition ROME Fetcher will be dropped in the next major version of ROME (version 2). + * For more information and some migration hints, please have a look at our detailed explanation. */ +@Deprecated public class HttpClientFeedFetcher extends AbstractFeedFetcher { private CredentialSupplier credentialSupplier; diff --git a/rome-fetcher/src/main/java/com/rometools/fetcher/impl/HttpURLFeedFetcher.java b/rome-fetcher/src/main/java/com/rometools/fetcher/impl/HttpURLFeedFetcher.java index 106852f..f1c9db4 100644 --- a/rome-fetcher/src/main/java/com/rometools/fetcher/impl/HttpURLFeedFetcher.java +++ b/rome-fetcher/src/main/java/com/rometools/fetcher/impl/HttpURLFeedFetcher.java @@ -68,7 +68,11 @@ import com.rometools.utils.IO; * @see http://bobwyman.pubsub.com/main/2004/09/using_rfc3229_w.html * @author Nick Lothian + * + * @deprecated ROME Fetcher will be dropped in the next major version of ROME (version 2). For more information and some migration hints, + * please have a look at our detailed explanation. */ +@Deprecated public class HttpURLFeedFetcher extends AbstractFeedFetcher { private volatile int connectTimeout = -1; diff --git a/rome-fetcher/src/main/java/com/rometools/fetcher/impl/LinkedHashMapFeedInfoCache.java b/rome-fetcher/src/main/java/com/rometools/fetcher/impl/LinkedHashMapFeedInfoCache.java index a398bf6..9736792 100644 --- a/rome-fetcher/src/main/java/com/rometools/fetcher/impl/LinkedHashMapFeedInfoCache.java +++ b/rome-fetcher/src/main/java/com/rometools/fetcher/impl/LinkedHashMapFeedInfoCache.java @@ -16,7 +16,10 @@ import java.util.Map; * @author Javier Kohen * @author Nick Lothian * + * @deprecated ROME Fetcher will be dropped in the next major version of ROME (version 2). For more information and some migration hints, + * please have a look at our detailed explanation. */ +@Deprecated public class LinkedHashMapFeedInfoCache extends HashMapFeedInfoCache { private final class CacheImpl extends LinkedHashMap