Skip to content

Commit

Permalink
Merge pull request #277 from rometools/ROME-276-fetcher-removal
Browse files Browse the repository at this point in the history
#276 added deprecation notice to rome-fetcher
  • Loading branch information
mishako committed Mar 4, 2016
2 parents b718922 + fdffe7d commit 91da300
Show file tree
Hide file tree
Showing 14 changed files with 58 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@
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 <a href="https://github.com/rometools/rome/issues/276">detailed explanation</a>.
*/
@Deprecated
public interface FeedFetcher {
/**
* <p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@
* 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 <a href="https://github.com/rometools/rome/issues/276">detailed explanation</a>.
*/
@Deprecated
public class FetcherEvent extends EventObject {

private static final long serialVersionUID = 1L;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@
/**
* @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 <a href="https://github.com/rometools/rome/issues/276">detailed explanation</a>.
*/
@Deprecated
public class FetcherException extends Exception {
private static final long serialVersionUID = 1L;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

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 <a href="https://github.com/rometools/rome/issues/276">detailed explanation</a>.
*/
@Deprecated
public interface FetcherListener extends EventListener {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@
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 <a href="https://github.com/rometools/rome/issues/276">detailed explanation</a>.
*/
@Deprecated
public abstract class AbstractFeedFetcher implements FeedFetcher {

private static final Logger LOG = LoggerFactory.getLogger(AbstractFeedFetcher.class);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
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 <a href="https://github.com/rometools/rome/issues/276">detailed explanation</a>.
*/
@Deprecated
public class AbstractFeedFetcherBeanInfo extends SimpleBeanInfo {

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,11 @@

/**
* 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 <a href="https://github.com/rometools/rome/issues/276">detailed explanation</a>.
*/
@Deprecated
public class DiskFeedInfoCache implements FeedFetcherCache {

protected String cachePath = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,11 @@
* </p>
*
* @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 <a href="https://github.com/rometools/rome/issues/276">detailed explanation</a>.
*/
@Deprecated
public interface FeedFetcherCache {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,11 @@
* </p>
*
* @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 <a href="https://github.com/rometools/rome/issues/276">detailed explanation</a>.
*/
@Deprecated
public class HashMapFeedInfoCache implements FeedFetcherCache, Serializable {

private static final long serialVersionUID = 1L;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,11 @@

/**
* @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 <a href="https://github.com/rometools/rome/issues/276">detailed explanation</a>.
*/
@Deprecated
public class HttpClientFeedFetcher extends AbstractFeedFetcher {

private CredentialSupplier credentialSupplier;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,11 @@
* @see <a
* href="http://bobwyman.pubsub.com/main/2004/09/using_rfc3229_w.html">http://bobwyman.pubsub.com/main/2004/09/using_rfc3229_w.html</a>
* @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 <a href="https://github.com/rometools/rome/issues/276">detailed explanation</a>.
*/
@Deprecated
public class HttpURLFeedFetcher extends AbstractFeedFetcher {

private volatile int connectTimeout = -1;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@
* @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 <a href="https://github.com/rometools/rome/issues/276">detailed explanation</a>.
*/
@Deprecated
public class LinkedHashMapFeedInfoCache extends HashMapFeedInfoCache {

private final class CacheImpl extends LinkedHashMap<String, SyndFeedInfo> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,11 @@

/**
* Utility class to help deal with HTTP responses
*
* *
* @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 <a href="https://github.com/rometools/rome/issues/276">detailed explanation</a>.
*/
@Deprecated
public class ResponseHandler {
public static final String defaultCharacterEncoding = "ISO-8859-1";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,11 @@
* </p>
*
* @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 <a href="https://github.com/rometools/rome/issues/276">detailed explanation</a>.
*/
@Deprecated
public class SyndFeedInfo implements Cloneable, Serializable {
private static final long serialVersionUID = 1L;

Expand Down

0 comments on commit 91da300

Please sign in to comment.