Deprecate all classes in certiorem and propono

Certiorem and Propono depend on rome-fetcher which is now deprecated and
will be removed in the next major version (see #276).
This commit is contained in:
mishako 2016-07-16 19:33:04 +02:00
parent 998bf4ac8e
commit 1395794562
98 changed files with 264 additions and 3 deletions

View file

@ -26,7 +26,9 @@ import com.rometools.certiorem.web.AbstractHubServlet;
/** /**
* *
* @author robert.cooper * @author robert.cooper
* @deprecated Certiorem will be removed in Rome 2.
*/ */
@Deprecated
@Singleton @Singleton
public class HubServlet extends AbstractHubServlet { public class HubServlet extends AbstractHubServlet {

View file

@ -33,7 +33,9 @@ import com.rometools.certiorem.pub.Publisher;
/** /**
* *
* @author robert.cooper * @author robert.cooper
* @deprecated Certiorem will be removed in Rome 2.
*/ */
@Deprecated
@Singleton @Singleton
public class NotifyTest extends HttpServlet { public class NotifyTest extends HttpServlet {

View file

@ -41,7 +41,9 @@ import com.rometools.fetcher.impl.HttpURLFeedFetcher;
/** /**
* *
* @author robert.cooper * @author robert.cooper
* @deprecated Certiorem will be removed in Rome 2.
*/ */
@Deprecated
public class ServerModule extends GuiceServletContextListener { public class ServerModule extends GuiceServletContextListener {
private static final Logger LOG = LoggerFactory.getLogger(ServerModule.class); private static final Logger LOG = LoggerFactory.getLogger(ServerModule.class);

View file

@ -26,7 +26,9 @@ import com.rometools.certiorem.web.AbstractSubServlet;
/** /**
* *
* @author robert.cooper * @author robert.cooper
* @deprecated Certiorem will be removed in Rome 2.
*/ */
@Deprecated
@Singleton @Singleton
public class SubServlet extends AbstractSubServlet { public class SubServlet extends AbstractSubServlet {

View file

@ -35,7 +35,9 @@ import com.rometools.fetcher.impl.SyndFeedInfo;
/** /**
* *
* @author robert.cooper * @author robert.cooper
* @deprecated Certiorem will be removed in Rome 2.
*/ */
@Deprecated
@Singleton @Singleton
public class SubTest extends HttpServlet { public class SubTest extends HttpServlet {

View file

@ -21,7 +21,9 @@ package com.rometools.certiorem;
/** /**
* *
* @author robert.cooper * @author robert.cooper
* @deprecated Certiorem will be removed in Rome 2.
*/ */
@Deprecated
public class HttpStatusCodeException extends RuntimeException { public class HttpStatusCodeException extends RuntimeException {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;

View file

@ -28,7 +28,9 @@ import com.rometools.fetcher.impl.SyndFeedInfo;
* changes to entries in the underlying feed. * changes to entries in the underlying feed.
* *
* @author najmi * @author najmi
* @deprecated Certiorem will be removed in Rome 2.
*/ */
@Deprecated
public class DeltaFeedInfoCache implements FeedFetcherCache { public class DeltaFeedInfoCache implements FeedFetcherCache {
FeedFetcherCache backingCache; FeedFetcherCache backingCache;

View file

@ -35,7 +35,9 @@ import com.rometools.rome.feed.synd.SyndFeed;
* fetch. * fetch.
* *
* @author najmi * @author najmi
* @deprecated Certiorem will be removed in Rome 2.
*/ */
@Deprecated
public class DeltaSyndFeedInfo extends SyndFeedInfo { public class DeltaSyndFeedInfo extends SyndFeedInfo {
/** /**

View file

@ -43,7 +43,9 @@ import com.rometools.rome.feed.synd.SyndFeed;
* a very thin servlet wrapper, or other, non-HTTP notification methods you might want to use. * a very thin servlet wrapper, or other, non-HTTP notification methods you might want to use.
* *
* @author robert.cooper * @author robert.cooper
* @deprecated Certiorem will be removed in Rome 2.
*/ */
@Deprecated
public class Hub { public class Hub {
private static final Logger LOG = LoggerFactory.getLogger(Hub.class); private static final Logger LOG = LoggerFactory.getLogger(Hub.class);

View file

@ -27,7 +27,9 @@ import com.rometools.rome.feed.synd.SyndFeed;
/** /**
* *
* @author robert.cooper * @author robert.cooper
* @deprecated Certiorem will be removed in Rome 2.
*/ */
@Deprecated
public interface Notifier { public interface Notifier {
/** /**
* Instructs the notifier to begin sending notifications to the list of subscribers * Instructs the notifier to begin sending notifications to the list of subscribers

View file

@ -24,7 +24,9 @@ import com.rometools.certiorem.hub.data.Subscriber;
* A strategy interface for verification of subscriptions. * A strategy interface for verification of subscriptions.
* *
* @author robert.cooper * @author robert.cooper
* @deprecated Certiorem will be removed in Rome 2.
*/ */
@Deprecated
public interface Verifier { public interface Verifier {
/** /**

View file

@ -23,7 +23,9 @@ import java.util.List;
/** /**
* *
* @author robert.cooper * @author robert.cooper
* @deprecated Certiorem will be removed in Rome 2.
*/ */
@Deprecated
public interface HubDAO { public interface HubDAO {
public List<? extends Subscriber> subscribersForTopic(String topic); public List<? extends Subscriber> subscribersForTopic(String topic);

View file

@ -23,7 +23,9 @@ import java.io.Serializable;
/** /**
* *
* @author robert.cooper * @author robert.cooper
* @deprecated Certiorem will be removed in Rome 2.
*/ */
@Deprecated
public class Subscriber implements Serializable { public class Subscriber implements Serializable {
/** /**
* *

View file

@ -23,7 +23,9 @@ import java.io.Serializable;
/** /**
* *
* @author robert.cooper * @author robert.cooper
* @deprecated Certiorem will be removed in Rome 2.
*/ */
@Deprecated
public class SubscriptionSummary implements Serializable { public class SubscriptionSummary implements Serializable {
/** /**
* *

View file

@ -35,7 +35,9 @@ import com.rometools.certiorem.hub.data.SubscriptionSummary;
/** /**
* *
* @author robert.cooper * @author robert.cooper
* @deprecated Certiorem will be removed in Rome 2.
*/ */
@Deprecated
public class JPADAO implements HubDAO { public class JPADAO implements HubDAO {
private final EntityManagerFactory factory; private final EntityManagerFactory factory;

View file

@ -33,7 +33,9 @@ import com.rometools.certiorem.hub.data.Subscriber;
/** /**
* *
* @author robert.cooper * @author robert.cooper
* @deprecated Certiorem will be removed in Rome 2.
*/ */
@Deprecated
@Entity @Entity
@NamedQueries({ @NamedQuery(name = "Subcriber.forTopic", query = "SELECT o FROM JPASubscriber o WHERE o.topic = :topic AND o.expired = false ORDER BY o.subscribedAt") }) @NamedQueries({ @NamedQuery(name = "Subcriber.forTopic", query = "SELECT o FROM JPASubscriber o WHERE o.topic = :topic AND o.expired = false ORDER BY o.subscribedAt") })
public class JPASubscriber extends Subscriber implements Serializable { public class JPASubscriber extends Subscriber implements Serializable {

View file

@ -32,7 +32,9 @@ import com.rometools.certiorem.hub.data.SubscriptionSummary;
* A Simple In-Memory HubDAO for subscribers. * A Simple In-Memory HubDAO for subscribers.
* *
* @author robert.cooper * @author robert.cooper
* @deprecated Certiorem will be removed in Rome 2.
*/ */
@Deprecated
public class InMemoryHubDAO implements HubDAO { public class InMemoryHubDAO implements HubDAO {
private final ConcurrentHashMap<String, List<Subscriber>> subscribers = new ConcurrentHashMap<String, List<Subscriber>>(); private final ConcurrentHashMap<String, List<Subscriber>> subscribers = new ConcurrentHashMap<String, List<Subscriber>>();
private final ConcurrentHashMap<String, ConcurrentHashMap<String, SubscriptionSummary>> summaries = new ConcurrentHashMap<String, ConcurrentHashMap<String, SubscriptionSummary>>(); private final ConcurrentHashMap<String, ConcurrentHashMap<String, SubscriptionSummary>> summaries = new ConcurrentHashMap<String, ConcurrentHashMap<String, SubscriptionSummary>>();

View file

@ -40,7 +40,9 @@ import com.rometools.rome.io.SyndFeedOutput;
/** /**
* *
* @author robert.cooper * @author robert.cooper
* @deprecated Certiorem will be removed in Rome 2.
*/ */
@Deprecated
public abstract class AbstractNotifier implements Notifier { public abstract class AbstractNotifier implements Notifier {
private static final Logger LOG = LoggerFactory.getLogger(AbstractNotifier.class); private static final Logger LOG = LoggerFactory.getLogger(AbstractNotifier.class);

View file

@ -24,7 +24,9 @@ import com.rometools.certiorem.hub.data.Subscriber;
/** /**
* *
* @author robert.cooper * @author robert.cooper
* @deprecated Certiorem will be removed in Rome 2.
*/ */
@Deprecated
public class Notification { public class Notification {
int retryCount = 0; int retryCount = 0;

View file

@ -31,7 +31,9 @@ import com.rometools.certiorem.hub.data.SubscriptionSummary;
* A notifier implementation that uses a thread pool to deliver notifications to subscribers * A notifier implementation that uses a thread pool to deliver notifications to subscribers
* *
* @author robert.cooper * @author robert.cooper
* @deprecated Certiorem will be removed in Rome 2.
*/ */
@Deprecated
public class ThreadPoolNotifier extends AbstractNotifier { public class ThreadPoolNotifier extends AbstractNotifier {
private static final long TWO_MINUTES = 2 * 60 * 1000; private static final long TWO_MINUTES = 2 * 60 * 1000;
protected final ThreadPoolExecutor exeuctor; protected final ThreadPoolExecutor exeuctor;

View file

@ -24,7 +24,9 @@ import com.rometools.certiorem.hub.data.SubscriptionSummary;
* A notifier that does not use threads. All calls are blocking and synchronous. * A notifier that does not use threads. All calls are blocking and synchronous.
* *
* @author robert.cooper * @author robert.cooper
* @deprecated Certiorem will be removed in Rome 2.
*/ */
@Deprecated
public class UnthreadedNotifier extends AbstractNotifier { public class UnthreadedNotifier extends AbstractNotifier {
/** /**

View file

@ -39,7 +39,9 @@ import com.rometools.certiorem.hub.data.Subscriber;
* operations, and expects a child class to do Async ops. * operations, and expects a child class to do Async ops.
* *
* @author robert.cooper * @author robert.cooper
* @deprecated Certiorem will be removed in Rome 2.
*/ */
@Deprecated
public abstract class AbstractVerifier implements Verifier { public abstract class AbstractVerifier implements Verifier {
private static final Logger LOG = LoggerFactory.getLogger(AbstractVerifier.class); private static final Logger LOG = LoggerFactory.getLogger(AbstractVerifier.class);

View file

@ -28,7 +28,9 @@ import com.rometools.certiorem.hub.data.Subscriber;
* Uses a ThreadPoolExecutor to do async verifications. * Uses a ThreadPoolExecutor to do async verifications.
* *
* @author robert.cooper * @author robert.cooper
* @deprecated Certiorem will be removed in Rome 2.
*/ */
@Deprecated
public class ThreadPoolVerifier extends AbstractVerifier { public class ThreadPoolVerifier extends AbstractVerifier {
protected final ThreadPoolExecutor exeuctor; protected final ThreadPoolExecutor exeuctor;

View file

@ -23,7 +23,9 @@ import java.util.concurrent.ThreadPoolExecutor;
/** /**
* *
* @author robert.cooper * @author robert.cooper
* @deprecated Certiorem will be removed in Rome 2.
*/ */
@Deprecated
public class ThreadpoolVerifierAdvanced extends ThreadPoolVerifier { public class ThreadpoolVerifierAdvanced extends ThreadPoolVerifier {
public ThreadpoolVerifierAdvanced(final ThreadPoolExecutor executor) { public ThreadpoolVerifierAdvanced(final ThreadPoolExecutor executor) {

View file

@ -24,7 +24,9 @@ import com.rometools.certiorem.hub.data.Subscriber;
* A verifier that does not use threads. Suitable for Google App Engine. * A verifier that does not use threads. Suitable for Google App Engine.
* *
* @author robert.cooper * @author robert.cooper
* @deprecated Certiorem will be removed in Rome 2.
*/ */
@Deprecated
public class UnthreadedVerifier extends AbstractVerifier { public class UnthreadedVerifier extends AbstractVerifier {
@Override @Override

View file

@ -21,7 +21,9 @@ package com.rometools.certiorem.pub;
/** /**
* *
* @author robert.cooper * @author robert.cooper
* @deprecated Certiorem will be removed in Rome 2.
*/ */
@Deprecated
public class NotificationException extends Exception { public class NotificationException extends Exception {
/** /**

View file

@ -36,7 +36,9 @@ import com.rometools.rome.feed.synd.SyndLink;
* A class for sending update notifications to a hub. * A class for sending update notifications to a hub.
* *
* @author robert.cooper * @author robert.cooper
* @deprecated Certiorem will be removed in Rome 2.
*/ */
@Deprecated
public class Publisher { public class Publisher {
private static final Logger LOG = LoggerFactory.getLogger(Publisher.class); private static final Logger LOG = LoggerFactory.getLogger(Publisher.class);

View file

@ -23,7 +23,9 @@ import com.rometools.certiorem.sub.data.Subscription;
/** /**
* *
* @author robert.cooper * @author robert.cooper
* @deprecated Certiorem will be removed in Rome 2.
*/ */
@Deprecated
public interface Requester { public interface Requester {
public void sendSubscribeRequest(String hubUrl, Subscription subscription, String verifySync, long leaseSeconds, String secret, String callbackUrl, public void sendSubscribeRequest(String hubUrl, Subscription subscription, String verifySync, long leaseSeconds, String secret, String callbackUrl,
RequestCallback callback); RequestCallback callback);

View file

@ -47,7 +47,9 @@ import com.rometools.rome.io.SyndFeedInput;
/** /**
* *
* @author robert.cooper * @author robert.cooper
* @deprecated Certiorem will be removed in Rome 2.
*/ */
@Deprecated
public class Subscriptions { public class Subscriptions {
private static final Logger LOG = LoggerFactory.getLogger(Subscriptions.class); private static final Logger LOG = LoggerFactory.getLogger(Subscriptions.class);

View file

@ -21,7 +21,9 @@ package com.rometools.certiorem.sub.data;
/** /**
* *
* @author robert.cooper * @author robert.cooper
* @deprecated Certiorem will be removed in Rome 2.
*/ */
@Deprecated
public interface SubDAO { public interface SubDAO {
public Subscription findById(String id); public Subscription findById(String id);

View file

@ -23,7 +23,9 @@ import java.io.Serializable;
/** /**
* *
* @author robert.cooper * @author robert.cooper
* @deprecated Certiorem will be removed in Rome 2.
*/ */
@Deprecated
public class Subscription implements Serializable { public class Subscription implements Serializable {
/** /**
* *

View file

@ -23,7 +23,9 @@ import com.rometools.fetcher.impl.SyndFeedInfo;
/** /**
* *
* @author najmi * @author najmi
* @deprecated Certiorem will be removed in Rome 2.
*/ */
@Deprecated
public interface SubscriptionCallback { public interface SubscriptionCallback {
void onNotify(Subscription subscribed, SyndFeedInfo feedInfo); void onNotify(Subscription subscribed, SyndFeedInfo feedInfo);

View file

@ -35,7 +35,9 @@ import com.rometools.certiorem.sub.data.Subscription;
/** /**
* *
* @author robert.cooper * @author robert.cooper
* @deprecated Certiorem will be removed in Rome 2.
*/ */
@Deprecated
public class InMemorySubDAO implements SubDAO { public class InMemorySubDAO implements SubDAO {
private static final Logger LOG = LoggerFactory.getLogger(InMemorySubDAO.class); private static final Logger LOG = LoggerFactory.getLogger(InMemorySubDAO.class);

View file

@ -29,7 +29,9 @@ import com.rometools.certiorem.sub.data.Subscription;
/** /**
* *
* @author robert.cooper * @author robert.cooper
* @deprecated Certiorem will be removed in Rome 2.
*/ */
@Deprecated
public abstract class AbstractRequester implements Requester { public abstract class AbstractRequester implements Requester {
protected boolean sendRequest(final String hubUrl, final String mode, final Subscription subscription, final String verifySync, final long leaseSeconds, protected boolean sendRequest(final String hubUrl, final String mode, final Subscription subscription, final String verifySync, final long leaseSeconds,

View file

@ -29,7 +29,9 @@ import com.rometools.certiorem.sub.data.Subscription;
* A simple requester implementation that always makes requests as Async. * A simple requester implementation that always makes requests as Async.
* *
* @author robert.cooper * @author robert.cooper
* @deprecated Certiorem will be removed in Rome 2.
*/ */
@Deprecated
public class AsyncRequester extends AbstractRequester { public class AsyncRequester extends AbstractRequester {
private static final Logger LOG = LoggerFactory.getLogger(AsyncRequester.class); private static final Logger LOG = LoggerFactory.getLogger(AsyncRequester.class);

View file

@ -33,7 +33,9 @@ import com.rometools.certiorem.sub.data.Subscription;
* A simple requester implementation that always makes requests as Async. * A simple requester implementation that always makes requests as Async.
* *
* @author Farrukh Najmi * @author Farrukh Najmi
* @deprecated Certiorem will be removed in Rome 2.
*/ */
@Deprecated
public class SyncRequester extends AbstractRequester { public class SyncRequester extends AbstractRequester {
private static final Logger LOG = LoggerFactory.getLogger(SyncRequester.class); private static final Logger LOG = LoggerFactory.getLogger(SyncRequester.class);

View file

@ -32,7 +32,9 @@ import com.rometools.certiorem.hub.Hub;
/** /**
* *
* @author robert.cooper * @author robert.cooper
* @deprecated Certiorem will be removed in Rome 2.
*/ */
@Deprecated
public abstract class AbstractHubServlet extends HttpServlet { public abstract class AbstractHubServlet extends HttpServlet {
/** /**
* *

View file

@ -32,7 +32,9 @@ import com.rometools.certiorem.sub.Subscriptions;
/** /**
* *
* @author robert.cooper * @author robert.cooper
* @deprecated Certiorem will be removed in Rome 2.
*/ */
@Deprecated
public abstract class AbstractSubServlet extends HttpServlet { public abstract class AbstractSubServlet extends HttpServlet {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;

View file

@ -21,7 +21,10 @@ import com.rometools.rome.io.impl.Atom10Parser;
/** /**
* Creates AtomService or ClientCollection based on username, password and end-point URI of Atom * Creates AtomService or ClientCollection based on username, password and end-point URI of Atom
* protocol service. * protocol service.
*
* @deprecated Propono will be removed in Rome 2.
*/ */
@Deprecated
public class AtomClientFactory { public class AtomClientFactory {
static { static {

View file

@ -15,11 +15,15 @@
*/ */
package com.rometools.propono.atom.client; package com.rometools.propono.atom.client;
import com.rometools.propono.utils.ProponoException;
import org.apache.commons.httpclient.HttpClient; import org.apache.commons.httpclient.HttpClient;
import org.apache.commons.httpclient.HttpMethodBase; import org.apache.commons.httpclient.HttpMethodBase;
import com.rometools.propono.utils.ProponoException; /**
* @deprecated Propono will be removed in Rome 2.
*/
@Deprecated
public interface AuthStrategy { public interface AuthStrategy {
/** /**

View file

@ -21,6 +21,10 @@ import org.apache.commons.httpclient.HttpMethodBase;
import com.rometools.propono.utils.ProponoException; import com.rometools.propono.utils.ProponoException;
import com.rometools.rome.io.impl.Base64; import com.rometools.rome.io.impl.Base64;
/**
* @deprecated Propono will be removed in Rome 2.
*/
@Deprecated
public class BasicAuthStrategy implements AuthStrategy { public class BasicAuthStrategy implements AuthStrategy {
private final String credentials; private final String credentials;

View file

@ -39,7 +39,10 @@ import com.rometools.rome.io.impl.Atom10Parser;
* {@link com.rometools.rome.propono.atom.common.Collection} class to add a <code>getEntry()</code> * {@link com.rometools.rome.propono.atom.common.Collection} class to add a <code>getEntry()</code>
* method and to return {@link com.rometools.rome.propono.atom.client.ClientWorkspace} objects * method and to return {@link com.rometools.rome.propono.atom.client.ClientWorkspace} objects
* instead of common {@link com.rometools.rome.propono.atom.common.Workspace}s. * instead of common {@link com.rometools.rome.propono.atom.common.Workspace}s.
*
* @deprecated Propono will be removed in Rome 2.
*/ */
@Deprecated
public class ClientAtomService extends AtomService { public class ClientAtomService extends AtomService {
private static final Logger LOG = LoggerFactory.getLogger(ClientAtomService.class); private static final Logger LOG = LoggerFactory.getLogger(ClientAtomService.class);

View file

@ -32,7 +32,10 @@ import com.rometools.propono.utils.ProponoException;
/** /**
* Models an Atom protocol Categories element, which may contain ROME Atom * Models an Atom protocol Categories element, which may contain ROME Atom
* {@link com.rometools.rome.feed.atom.Category} elements. * {@link com.rometools.rome.feed.atom.Category} elements.
*
* @deprecated Propono will be removed in Rome 2.
*/ */
@Deprecated
public class ClientCategories extends Categories { public class ClientCategories extends Categories {
private ClientCollection clientCollection = null; private ClientCollection clientCollection = null;

View file

@ -38,7 +38,10 @@ import com.rometools.rome.io.impl.Atom10Parser;
/** /**
* Models an Atom collection, extends Collection and adds methods for adding, retrieving, updateing * Models an Atom collection, extends Collection and adds methods for adding, retrieving, updateing
* and deleting entries. * and deleting entries.
*
* @deprecated Propono will be removed in Rome 2.
*/ */
@Deprecated
public class ClientCollection extends Collection { public class ClientCollection extends Collection {
private final boolean writable = true; private final boolean writable = true;

View file

@ -47,7 +47,10 @@ import com.rometools.rome.io.impl.Atom10Parser;
/** /**
* Client implementation of Atom entry, extends ROME Entry to add methods for easily getting/setting * Client implementation of Atom entry, extends ROME Entry to add methods for easily getting/setting
* content, updating and removing the entry from the server. * content, updating and removing the entry from the server.
*
* @deprecated Propono will be removed in Rome 2.
*/ */
@Deprecated
public class ClientEntry extends Entry { public class ClientEntry extends Entry {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;

View file

@ -49,7 +49,10 @@ import com.rometools.rome.io.impl.Atom10Parser;
/** /**
* Client implementation of Atom media-link entry, an Atom entry that provides meta-data for a media * Client implementation of Atom media-link entry, an Atom entry that provides meta-data for a media
* file (e.g. uploaded image or audio file). * file (e.g. uploaded image or audio file).
*
* @deprecated Propono will be removed in Rome 2.
*/ */
@Deprecated
public class ClientMediaEntry extends ClientEntry { public class ClientMediaEntry extends ClientEntry {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;

View file

@ -28,7 +28,10 @@ import com.rometools.propono.utils.ProponoException;
* {@link com.rometools.rome.propono.atom.common.Workspace} to return * {@link com.rometools.rome.propono.atom.common.Workspace} to return
* {@link com.rometools.rome.propono.atom.client.ClientCollection} objects instead of common * {@link com.rometools.rome.propono.atom.client.ClientCollection} objects instead of common
* {@link com.rometools.rome.propono.atom.common.Collection}s. * {@link com.rometools.rome.propono.atom.common.Collection}s.
*
* @deprecated Propono will be removed in Rome 2.
*/ */
@Deprecated
public class ClientWorkspace extends Workspace { public class ClientWorkspace extends Workspace {
private ClientAtomService atomService = null; private ClientAtomService atomService = null;

View file

@ -33,7 +33,10 @@ import com.rometools.rome.io.WireFeedInput;
/** /**
* Enables iteration over entries in Atom protocol collection. * Enables iteration over entries in Atom protocol collection.
*
* @deprecated Propono will be removed in Rome 2.
*/ */
@Deprecated
public class EntryIterator implements Iterator<ClientEntry> { public class EntryIterator implements Iterator<ClientEntry> {
private static final Logger LOG = LoggerFactory.getLogger(EntryIterator.class); private static final Logger LOG = LoggerFactory.getLogger(EntryIterator.class);

View file

@ -22,6 +22,10 @@ import org.apache.commons.httpclient.methods.PostMethod;
import com.rometools.propono.utils.ProponoException; import com.rometools.propono.utils.ProponoException;
/**
* @deprecated Propono will be removed in Rome 2.
*/
@Deprecated
public class GDataAuthStrategy implements AuthStrategy { public class GDataAuthStrategy implements AuthStrategy {
private final String email; private final String email;
private final String password; private final String password;

View file

@ -22,7 +22,10 @@ import com.rometools.propono.utils.ProponoException;
/** /**
* No authentication * No authentication
*
* @deprecated Propono will be removed in Rome 2.
*/ */
@Deprecated
public class NoAuthStrategy implements AuthStrategy { public class NoAuthStrategy implements AuthStrategy {
@Override @Override

View file

@ -39,7 +39,10 @@ import com.rometools.propono.utils.ProponoException;
/** /**
* Strategy for using OAuth. * Strategy for using OAuth.
*
* @deprecated Propono will be removed in Rome 2.
*/ */
@Deprecated
public class OAuthStrategy implements AuthStrategy { public class OAuthStrategy implements AuthStrategy {
private State state = State.UNAUTHORIZED; private State state = State.UNAUTHORIZED;

View file

@ -29,7 +29,10 @@ import com.rometools.propono.utils.ProponoException;
/** /**
* Models an Atom Publishing Protocol Service Document. Is able to read a Service document from a * Models an Atom Publishing Protocol Service Document. Is able to read a Service document from a
* JDOM Document and to write Service document out as a JDOM Document. * JDOM Document and to write Service document out as a JDOM Document.
*
* @deprecated Propono will be removed in Rome 2.
*/ */
@Deprecated
public class AtomService { public class AtomService {
private List<Workspace> workspaces = new ArrayList<Workspace>(); private List<Workspace> workspaces = new ArrayList<Workspace>();

View file

@ -28,7 +28,10 @@ import com.rometools.rome.io.impl.Atom10Parser;
/** /**
* Models an Atom protocol Categories element, which may contain ROME Atom * Models an Atom protocol Categories element, which may contain ROME Atom
* {@link com.rometools.rome.feed.atom.Category} elements. * {@link com.rometools.rome.feed.atom.Category} elements.
*
* @deprecated Propono will be removed in Rome 2.
*/ */
@Deprecated
public class Categories { public class Categories {
private final List<Category> categories = new ArrayList<Category>(); private final List<Category> categories = new ArrayList<Category>();

View file

@ -27,7 +27,10 @@ import com.rometools.rome.io.impl.Atom10Parser;
/** /**
* Models an Atom workspace collection. * Models an Atom workspace collection.
*
* @deprecated Propono will be removed in Rome 2.
*/ */
@Deprecated
public class Collection { public class Collection {
public static final String ENTRY_TYPE = "application/atom+xml;type=entry"; public static final String ENTRY_TYPE = "application/atom+xml;type=entry";

View file

@ -26,7 +26,10 @@ import com.rometools.propono.utils.ProponoException;
/** /**
* Models an Atom workspace. * Models an Atom workspace.
*
* @deprecated Propono will be removed in Rome 2.
*/ */
@Deprecated
public class Workspace { public class Workspace {
private String title = null; private String title = null;

View file

@ -25,7 +25,10 @@ import com.rometools.rome.feed.module.Module;
/** /**
* ROME Extension Module to Atom protocol extensions to Atom format. * ROME Extension Module to Atom protocol extensions to Atom format.
*
* @deprecated Propono will be removed in Rome 2.
*/ */
@Deprecated
public interface AppModule extends Module { public interface AppModule extends Module {
public static final String URI = "http://www.w3.org/2007/app"; public static final String URI = "http://www.w3.org/2007/app";

View file

@ -34,7 +34,10 @@ import com.rometools.rome.io.ModuleGenerator;
/** /**
* Creates JDOM representation for APP Extension Module. * Creates JDOM representation for APP Extension Module.
*
* @deprecated Propono will be removed in Rome 2.
*/ */
@Deprecated
public class AppModuleGenerator implements ModuleGenerator { public class AppModuleGenerator implements ModuleGenerator {
private static final Namespace APP_NS = Namespace.getNamespace("app", AppModule.URI); private static final Namespace APP_NS = Namespace.getNamespace("app", AppModule.URI);

View file

@ -27,7 +27,10 @@ import com.rometools.rome.feed.module.ModuleImpl;
/** /**
* Bean representation of APP module. * Bean representation of APP module.
*
* @deprecated Propono will be removed in Rome 2.
*/ */
@Deprecated
public class AppModuleImpl extends ModuleImpl implements AppModule { public class AppModuleImpl extends ModuleImpl implements AppModule {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;

View file

@ -30,7 +30,10 @@ import com.rometools.rome.io.impl.DateParser;
/** /**
* Parses APP module information from a JDOM element and into <code>AppModule</code> form. * Parses APP module information from a JDOM element and into <code>AppModule</code> form.
*
* @deprecated Propono will be removed in Rome 2.
*/ */
@Deprecated
public class AppModuleParser implements ModuleParser { public class AppModuleParser implements ModuleParser {
/** Get URI of module namespace */ /** Get URI of module namespace */

View file

@ -24,7 +24,10 @@ import javax.servlet.http.HttpServletResponse;
/** /**
* Exception thrown by {@link com.rometools.rome.propono.atom.server.AtomHandler} and extended by * Exception thrown by {@link com.rometools.rome.propono.atom.server.AtomHandler} and extended by
* other Propono Atom exception classes. * other Propono Atom exception classes.
*
* @deprecated Propono will be removed in Rome 2.
*/ */
@Deprecated
public class AtomException extends Exception { public class AtomException extends Exception {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;

View file

@ -32,7 +32,10 @@ import com.rometools.rome.feed.atom.Feed;
* concrete sub-class of {@link com.rometools.rome.propono.atom.server.AtomHandlerFactory} which is * concrete sub-class of {@link com.rometools.rome.propono.atom.server.AtomHandlerFactory} which is
* capable of instantiating it. * capable of instantiating it.
* </p> * </p>
*
* @deprecated Propono will be removed in Rome 2.
*/ */
@Deprecated
public interface AtomHandler { public interface AtomHandler {
/** /**
* Get username of authenticated user. Return the username of the authenticated user * Get username of authenticated user. Return the username of the authenticated user

View file

@ -31,7 +31,10 @@ import org.slf4j.LoggerFactory;
* factory that is capable of creating instances of your * factory that is capable of creating instances of your
* {@link com.rometools.rome.propono.atom.server.AtomHandler} impementation. * {@link com.rometools.rome.propono.atom.server.AtomHandler} impementation.
* </p> * </p>
*
* @deprecated Propono will be removed in Rome 2.
*/ */
@Deprecated
public abstract class AtomHandlerFactory { public abstract class AtomHandlerFactory {
private static final Logger LOG = LoggerFactory.getLogger(AtomHandlerFactory.class); private static final Logger LOG = LoggerFactory.getLogger(AtomHandlerFactory.class);

View file

@ -27,7 +27,10 @@ import javax.activation.MimetypesFileTypeMap;
/** /**
* Represents a media link entry. * Represents a media link entry.
*
* @deprecated Propono will be removed in Rome 2.
*/ */
@Deprecated
public class AtomMediaResource { public class AtomMediaResource {
private String contentType = null; private String contentType = null;
private long contentLength = 0; private long contentLength = 0;

View file

@ -24,7 +24,10 @@ import javax.servlet.http.HttpServletResponse;
/** /**
* Exception to be thrown by <code>AtomHandler</code> implementations in the case that a user is not * Exception to be thrown by <code>AtomHandler</code> implementations in the case that a user is not
* authorized to access a resource. * authorized to access a resource.
*
* @deprecated Propono will be removed in Rome 2.
*/ */
@Deprecated
public class AtomNotAuthorizedException extends AtomException { public class AtomNotAuthorizedException extends AtomException {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;

View file

@ -23,7 +23,10 @@ import javax.servlet.http.HttpServletResponse;
/** /**
* Exception thrown by AtomHandler in that case a resource is not found. * Exception thrown by AtomHandler in that case a resource is not found.
*
* @deprecated Propono will be removed in Rome 2.
*/ */
@Deprecated
public class AtomNotFoundException extends AtomException { public class AtomNotFoundException extends AtomException {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;

View file

@ -27,7 +27,10 @@ import java.util.Map;
/** /**
* Represents HTTP request to be processed by AtomHandler. * Represents HTTP request to be processed by AtomHandler.
*
* @deprecated Propono will be removed in Rome 2.
*/ */
@Deprecated
public interface AtomRequest { public interface AtomRequest {
/** /**

View file

@ -29,7 +29,10 @@ import javax.servlet.http.HttpServletRequest;
/** /**
* Default request implementation. * Default request implementation.
*
* @deprecated Propono will be removed in Rome 2.
*/ */
@Deprecated
public class AtomRequestImpl implements AtomRequest { public class AtomRequestImpl implements AtomRequest {
private HttpServletRequest wrapped = null; private HttpServletRequest wrapped = null;

View file

@ -55,7 +55,10 @@ import com.rometools.rome.io.impl.Atom10Parser;
* care of parsing incoming XML into ROME Atom {@link com.rometools.rome.feed.atom.Entry} objects, * care of parsing incoming XML into ROME Atom {@link com.rometools.rome.feed.atom.Entry} objects,
* passing those to the handler and serializing to the response the entries and feeds returned by * passing those to the handler and serializing to the response the entries and feeds returned by
* the handler. * the handler.
*
* @deprecated Propono will be removed in Rome 2.
*/ */
@Deprecated
public class AtomServlet extends HttpServlet { public class AtomServlet extends HttpServlet {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;

View file

@ -15,6 +15,10 @@
*/ */
package com.rometools.propono.atom.server; package com.rometools.propono.atom.server;
/**
* @deprecated Propono will be removed in Rome 2.
*/
@Deprecated
class ConfigurationError extends Error { class ConfigurationError extends Error {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;

View file

@ -20,7 +20,10 @@ package com.rometools.propono.atom.server;
* {@link com.rometools.rome.propono.atom.server.AtomHandlerFactory} exists. This error will * {@link com.rometools.rome.propono.atom.server.AtomHandlerFactory} exists. This error will
* typically be thrown when the class of a parser factory specified in the system properties cannot * typically be thrown when the class of a parser factory specified in the system properties cannot
* be found or instantiated. * be found or instantiated.
*
* @deprecated Propono will be removed in Rome 2.
*/ */
@Deprecated
public class FactoryConfigurationError extends Error { public class FactoryConfigurationError extends Error {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;

View file

@ -24,7 +24,10 @@ import java.util.Properties;
/** /**
* Find {@link com.rometools.rome.propono.atom.server.AtomHandlerFactory} based on properties * Find {@link com.rometools.rome.propono.atom.server.AtomHandlerFactory} based on properties
* files. * files.
*
* @deprecated Propono will be removed in Rome 2.
*/ */
@Deprecated
class FactoryFinder { class FactoryFinder {
private static boolean debug = false; private static boolean debug = false;

View file

@ -27,7 +27,10 @@ import java.security.PrivilegedExceptionAction;
/** /**
* This class is duplicated for each subpackage, it is package private and therefore is not exposed * This class is duplicated for each subpackage, it is package private and therefore is not exposed
* as part of the public API. * as part of the public API.
*
* @deprecated Propono will be removed in Rome 2.
*/ */
@Deprecated
class SecuritySupport { class SecuritySupport {
ClassLoader getContextClassLoader() { ClassLoader getContextClassLoader() {

View file

@ -39,7 +39,10 @@ import com.rometools.rome.feed.atom.Feed;
* File-based {@link com.rometools.rome.propono.atom.server.AtomHandler} implementation that stores * File-based {@link com.rometools.rome.propono.atom.server.AtomHandler} implementation that stores
* entries and media-entries to disk. Implemented using * entries and media-entries to disk. Implemented using
* {@link com.rometools.rome.propono.atom.server.impl.FileBasedAtomService}. * {@link com.rometools.rome.propono.atom.server.impl.FileBasedAtomService}.
*
* @deprecated Propono will be removed in Rome 2.
*/ */
@Deprecated
public class FileBasedAtomHandler implements AtomHandler { public class FileBasedAtomHandler implements AtomHandler {
private static final Logger LOG = LoggerFactory.getLogger(FileBasedAtomHandler.class); private static final Logger LOG = LoggerFactory.getLogger(FileBasedAtomHandler.class);

View file

@ -24,7 +24,10 @@ import com.rometools.propono.atom.server.AtomHandlerFactory;
/** /**
* Extends {@link com.rometools.rome.propono.atom.server.AtomHandlerFactory} to create and return * Extends {@link com.rometools.rome.propono.atom.server.AtomHandlerFactory} to create and return
* {@link com.rometools.rome.propono.atom.server.impl.FileBasedAtomHandler}. * {@link com.rometools.rome.propono.atom.server.impl.FileBasedAtomHandler}.
*
* @deprecated Propono will be removed in Rome 2.
*/ */
@Deprecated
public class FileBasedAtomHandlerFactory extends AtomHandlerFactory { public class FileBasedAtomHandlerFactory extends AtomHandlerFactory {
/** /**

View file

@ -93,7 +93,10 @@ import com.rometools.propono.utils.Utilities;
* Collection entry media (media file stored under entry directory)<br/> * Collection entry media (media file stored under entry directory)<br/>
* <code>[servlet-context-dir]/[workspace-handle]/[collection-plural]/id/media/id</code> * <code>[servlet-context-dir]/[workspace-handle]/[collection-plural]/id/media/id</code>
* </p> * </p>
*
* @deprecated Propono will be removed in Rome 2.
*/ */
@Deprecated
public class FileBasedAtomService extends AtomService { public class FileBasedAtomService extends AtomService {
private final Map<String, FileBasedWorkspace> workspaceMap = new TreeMap<String, FileBasedWorkspace>(); private final Map<String, FileBasedWorkspace> workspaceMap = new TreeMap<String, FileBasedWorkspace>();

View file

@ -63,7 +63,10 @@ import com.rometools.rome.io.impl.Atom10Parser;
* File based Atom collection implementation. This is the heart of the file-based Atom service * File based Atom collection implementation. This is the heart of the file-based Atom service
* implementation. It provides methods for adding, getting updating and deleting Atom entries and * implementation. It provides methods for adding, getting updating and deleting Atom entries and
* media entries. * media entries.
*
* @deprecated Propono will be removed in Rome 2.
*/ */
@Deprecated
public class FileBasedCollection extends Collection { public class FileBasedCollection extends Collection {
private String handle = null; private String handle = null;

View file

@ -19,7 +19,10 @@ import com.rometools.propono.atom.common.Workspace;
/** /**
* File based Atom service Workspace. * File based Atom service Workspace.
*
* @deprecated Propono will be removed in Rome 2.
*/ */
@Deprecated
public class FileBasedWorkspace extends Workspace { public class FileBasedWorkspace extends Workspace {
public FileBasedWorkspace(final String handle, final String baseDir) { public FileBasedWorkspace(final String handle, final String baseDir) {

View file

@ -31,7 +31,10 @@ import org.slf4j.LoggerFactory;
/** /**
* Class which helps in handling File persistence related operations. * Class which helps in handling File persistence related operations.
*
* @deprecated Propono will be removed in Rome 2.
*/ */
@Deprecated
class FileStore { class FileStore {
private static final Logger LOG = LoggerFactory.getLogger(FileStore.class); private static final Logger LOG = LoggerFactory.getLogger(FileStore.class);

View file

@ -21,7 +21,10 @@ import java.util.List;
/** /**
* Base implementation of a blog entry. * Base implementation of a blog entry.
*
* @deprecated Propono will be removed in Rome 2.
*/ */
@Deprecated
public abstract class BaseBlogEntry implements BlogEntry { public abstract class BaseBlogEntry implements BlogEntry {
protected String id = null; protected String id = null;
protected Person author = null; protected Person author = null;

View file

@ -24,7 +24,10 @@ import java.util.List;
* using the getCollections() and getCollection(String name) methods, which return Blog.Collection * using the getCollections() and getCollection(String name) methods, which return Blog.Collection
* objects, which you can use to create, retrieve update or delete entries within a collection. * objects, which you can use to create, retrieve update or delete entries within a collection.
* </p> * </p>
*
* @deprecated Propono will be removed in Rome 2.
*/ */
@Deprecated
public interface Blog { public interface Blog {
/** /**

View file

@ -18,7 +18,10 @@ package com.rometools.propono.blogclient;
/** /**
* Represents a Blog Client exception, the library throws these instead of implementation specific * Represents a Blog Client exception, the library throws these instead of implementation specific
* exceptions. * exceptions.
*
* @deprecated Propono will be removed in Rome 2.
*/ */
@Deprecated
public class BlogClientException extends Exception { public class BlogClientException extends Exception {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;

View file

@ -20,7 +20,10 @@ import java.util.List;
/** /**
* A BlogConnection is a single-user connection to a blog server where the user has access to * A BlogConnection is a single-user connection to a blog server where the user has access to
* multiple blogs, which are each represented by a Blog interface. * multiple blogs, which are each represented by a Blog interface.
*
* @deprecated Propono will be removed in Rome 2.
*/ */
@Deprecated
public interface BlogConnection { public interface BlogConnection {
/** Returns collection of blogs available from this connection */ /** Returns collection of blogs available from this connection */

View file

@ -19,7 +19,10 @@ import java.lang.reflect.Constructor;
/** /**
* Entry point to the Blogapps blog client library. * Entry point to the Blogapps blog client library.
*
* @deprecated Propono will be removed in Rome 2.
*/ */
@Deprecated
public class BlogConnectionFactory { public class BlogConnectionFactory {
// BlogConnection implementations must: // BlogConnection implementations must:

View file

@ -20,7 +20,10 @@ import java.util.List;
/** /**
* Represents a single blog entry. * Represents a single blog entry.
*
* @deprecated Propono will be removed in Rome 2.
*/ */
@Deprecated
public interface BlogEntry { public interface BlogEntry {
/** Get token, which can be used to fetch the blog entry */ /** Get token, which can be used to fetch the blog entry */

View file

@ -23,7 +23,10 @@ import java.io.InputStream;
* Resources are modeled as a type of BlogEntry, but be aware: not all servers can save resource * Resources are modeled as a type of BlogEntry, but be aware: not all servers can save resource
* metadata (i.e. title, category, author, etc.). MetaWeblog based servers can't save metadata at * metadata (i.e. title, category, author, etc.). MetaWeblog based servers can't save metadata at
* all and Atom protocol servers are not required to preserve uploaded file metadata. * all and Atom protocol servers are not required to preserve uploaded file metadata.
*
* @deprecated Propono will be removed in Rome 2.
*/ */
@Deprecated
public interface BlogResource extends BlogEntry { public interface BlogResource extends BlogEntry {
/** Get resource name (name is required) */ /** Get resource name (name is required) */

View file

@ -34,7 +34,10 @@ import com.rometools.propono.utils.ProponoException;
/** /**
* Atom protocol implementation of the BlogClient Blog interface. * Atom protocol implementation of the BlogClient Blog interface.
*
* @deprecated Propono will be removed in Rome 2.
*/ */
@Deprecated
public class AtomBlog implements Blog { public class AtomBlog implements Blog {
private String name = null; private String name = null;

View file

@ -31,7 +31,10 @@ import com.rometools.rome.feed.atom.Category;
/** /**
* Atom protocol implementation of BlogClient Blog.Collection. * Atom protocol implementation of BlogClient Blog.Collection.
*
* @deprecated Propono will be removed in Rome 2.
*/ */
@Deprecated
public class AtomCollection implements Blog.Collection { public class AtomCollection implements Blog.Collection {
private Blog blog = null; private Blog blog = null;

View file

@ -33,7 +33,10 @@ import com.rometools.propono.blogclient.BlogConnection;
/** /**
* Atom protocol of BlogConnection. Connects to Atom server, creates AtomBlog object for each Atom * Atom protocol of BlogConnection. Connects to Atom server, creates AtomBlog object for each Atom
* workspace found and within each blog a collection for each Atom collection found. * workspace found and within each blog a collection for each Atom collection found.
*
* @deprecated Propono will be removed in Rome 2.
*/ */
@Deprecated
public class AtomConnection implements BlogConnection { public class AtomConnection implements BlogConnection {
private final Map<String, Blog> blogs = new HashMap<String, Blog>(); private final Map<String, Blog> blogs = new HashMap<String, Blog>();

View file

@ -33,7 +33,10 @@ import com.rometools.rome.feed.synd.SyndPerson;
/** /**
* Atom protocol implementation of BlogEntry. * Atom protocol implementation of BlogEntry.
*
* @deprecated Propono will be removed in Rome 2.
*/ */
@Deprecated
public class AtomEntry extends BaseBlogEntry implements BlogEntry { public class AtomEntry extends BaseBlogEntry implements BlogEntry {
String editURI = null; String editURI = null;

View file

@ -27,7 +27,10 @@ import com.rometools.propono.blogclient.BlogEntry;
/** /**
* Atom protocol implementation of BlogClient entry iterator. * Atom protocol implementation of BlogClient entry iterator.
*
* @deprecated Propono will be removed in Rome 2.
*/ */
@Deprecated
public class AtomEntryIterator implements Iterator<BlogEntry> { public class AtomEntryIterator implements Iterator<BlogEntry> {
private static final Logger LOG = LoggerFactory.getLogger(AtomEntryIterator.class); private static final Logger LOG = LoggerFactory.getLogger(AtomEntryIterator.class);

View file

@ -29,7 +29,10 @@ import com.rometools.rome.feed.atom.Link;
/** /**
* Atom protocol implementation of BlogResource. * Atom protocol implementation of BlogResource.
*
* @deprecated Propono will be removed in Rome 2.
*/ */
@Deprecated
public class AtomResource extends AtomEntry implements BlogResource { public class AtomResource extends AtomEntry implements BlogResource {
private AtomCollection collection; private AtomCollection collection;

View file

@ -37,7 +37,10 @@ import com.rometools.propono.blogclient.BlogResource;
/** /**
* Blog implementation that uses a mix of Blogger and MetaWeblog API methods. * Blog implementation that uses a mix of Blogger and MetaWeblog API methods.
*
* @deprecated Propono will be removed in Rome 2.
*/ */
@Deprecated
public class MetaWeblogBlog implements Blog { public class MetaWeblogBlog implements Blog {
private final String blogid; private final String blogid;

View file

@ -32,7 +32,10 @@ import com.rometools.propono.blogclient.BlogConnection;
/** /**
* BlogClient implementation that uses a mix of Blogger and MetaWeblog API methods. * BlogClient implementation that uses a mix of Blogger and MetaWeblog API methods.
*
* @deprecated Propono will be removed in Rome 2.
*/ */
@Deprecated
public class MetaWeblogConnection implements BlogConnection { public class MetaWeblogConnection implements BlogConnection {
private URL url = null; private URL url = null;

View file

@ -27,7 +27,10 @@ import com.rometools.propono.blogclient.BlogEntry;
/** /**
* MetaWeblog API implementation of an entry. * MetaWeblog API implementation of an entry.
*
* @deprecated Propono will be removed in Rome 2.
*/ */
@Deprecated
public class MetaWeblogEntry extends BaseBlogEntry { public class MetaWeblogEntry extends BaseBlogEntry {
MetaWeblogEntry(final MetaWeblogBlog blog, final Map<String, Object> entryMap) { MetaWeblogEntry(final MetaWeblogBlog blog, final Map<String, Object> entryMap) {

View file

@ -26,7 +26,10 @@ import com.rometools.propono.blogclient.BlogResource;
/** /**
* MetaWeblog API implementation of an resource entry. * MetaWeblog API implementation of an resource entry.
*
* @deprecated Propono will be removed in Rome 2.
*/ */
@Deprecated
public class MetaWeblogResource extends MetaWeblogEntry implements BlogResource { public class MetaWeblogResource extends MetaWeblogEntry implements BlogResource {
private final MetaWeblogBlog blog; private final MetaWeblogBlog blog;
private final String name; private final String name;

View file

@ -17,6 +17,10 @@ package com.rometools.propono.blogclient.metaweblog;
import java.util.Iterator; import java.util.Iterator;
/**
* @deprecated Propono will be removed in Rome 2.
*/
@Deprecated
class NoOpIterator<T> implements Iterator<T> { class NoOpIterator<T> implements Iterator<T> {
/** No-op */ /** No-op */

View file

@ -20,7 +20,10 @@ import java.io.PrintWriter;
/** /**
* Base Propono exception class. * Base Propono exception class.
*
* @deprecated Propono will be removed in Rome 2.
*/ */
@Deprecated
public class ProponoException extends Exception { public class ProponoException extends Exception {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;

View file

@ -30,7 +30,10 @@ import java.util.regex.Pattern;
/** /**
* Utilities for file I/O and string manipulation. * Utilities for file I/O and string manipulation.
*
* @deprecated Propono will be removed in Rome 2.
*/ */
@Deprecated
public final class Utilities { public final class Utilities {
private static final String LS = System.getProperty("line.separator"); private static final String LS = System.getProperty("line.separator");