Renamed and harmonized packages
This commit is contained in:
parent
14561d43cc
commit
0588cfd66d
53 changed files with 120 additions and 107 deletions
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.rometools.certiorem;
|
||||
package com.rometools.certiorem;
|
||||
|
||||
/**
|
||||
*
|
|
@ -2,7 +2,7 @@
|
|||
* To change this template, choose Tools | Templates
|
||||
* and open the template in the editor.
|
||||
*/
|
||||
package org.rometools.certiorem.hub;
|
||||
package com.rometools.certiorem.hub;
|
||||
|
||||
import java.net.URL;
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
* To change this template, choose Tools | Templates
|
||||
* and open the template in the editor.
|
||||
*/
|
||||
package org.rometools.certiorem.hub;
|
||||
package com.rometools.certiorem.hub;
|
||||
|
||||
import java.math.BigInteger;
|
||||
import java.security.MessageDigest;
|
||||
|
@ -13,8 +13,8 @@ import java.util.List;
|
|||
import java.util.Map;
|
||||
|
||||
import com.rometools.fetcher.impl.SyndFeedInfo;
|
||||
import com.sun.syndication.feed.synd.SyndEntry;
|
||||
import com.sun.syndication.feed.synd.SyndFeed;
|
||||
import com.rometools.rome.feed.synd.SyndEntry;
|
||||
import com.rometools.rome.feed.synd.SyndFeed;
|
||||
|
||||
/**
|
||||
* Extends SyndFeedInfo to also track etags for individual entries. This may be used with
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.rometools.certiorem.hub;
|
||||
package com.rometools.certiorem.hub;
|
||||
|
||||
import java.net.URI;
|
||||
import java.net.URISyntaxException;
|
||||
|
@ -26,17 +26,17 @@ import java.util.HashSet;
|
|||
import java.util.List;
|
||||
import java.util.Set;
|
||||
|
||||
import org.rometools.certiorem.HttpStatusCodeException;
|
||||
import org.rometools.certiorem.hub.Notifier.SubscriptionSummaryCallback;
|
||||
import org.rometools.certiorem.hub.Verifier.VerificationCallback;
|
||||
import org.rometools.certiorem.hub.data.HubDAO;
|
||||
import org.rometools.certiorem.hub.data.Subscriber;
|
||||
import org.rometools.certiorem.hub.data.SubscriptionSummary;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
import com.rometools.certiorem.HttpStatusCodeException;
|
||||
import com.rometools.certiorem.hub.Notifier.SubscriptionSummaryCallback;
|
||||
import com.rometools.certiorem.hub.Verifier.VerificationCallback;
|
||||
import com.rometools.certiorem.hub.data.HubDAO;
|
||||
import com.rometools.certiorem.hub.data.Subscriber;
|
||||
import com.rometools.certiorem.hub.data.SubscriptionSummary;
|
||||
import com.rometools.fetcher.FeedFetcher;
|
||||
import com.sun.syndication.feed.synd.SyndFeed;
|
||||
import com.rometools.rome.feed.synd.SyndFeed;
|
||||
|
||||
/**
|
||||
* The basic business logic controller for the Hub implementation. It is intended to be usable under
|
|
@ -16,14 +16,13 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.rometools.certiorem.hub;
|
||||
package com.rometools.certiorem.hub;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import org.rometools.certiorem.hub.data.Subscriber;
|
||||
import org.rometools.certiorem.hub.data.SubscriptionSummary;
|
||||
|
||||
import com.sun.syndication.feed.synd.SyndFeed;
|
||||
import com.rometools.certiorem.hub.data.Subscriber;
|
||||
import com.rometools.certiorem.hub.data.SubscriptionSummary;
|
||||
import com.rometools.rome.feed.synd.SyndFeed;
|
||||
|
||||
/**
|
||||
*
|
|
@ -16,9 +16,9 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.rometools.certiorem.hub;
|
||||
package com.rometools.certiorem.hub;
|
||||
|
||||
import org.rometools.certiorem.hub.data.Subscriber;
|
||||
import com.rometools.certiorem.hub.data.Subscriber;
|
||||
|
||||
/**
|
||||
* A strategy interface for verification of subscriptions.
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.rometools.certiorem.hub.data;
|
||||
package com.rometools.certiorem.hub.data;
|
||||
|
||||
import java.util.List;
|
||||
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.rometools.certiorem.hub.data;
|
||||
package com.rometools.certiorem.hub.data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.rometools.certiorem.hub.data;
|
||||
package com.rometools.certiorem.hub.data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.rometools.certiorem.hub.data.jpa;
|
||||
package com.rometools.certiorem.hub.data.jpa;
|
||||
|
||||
import java.util.LinkedList;
|
||||
import java.util.List;
|
||||
|
@ -28,9 +28,9 @@ import javax.persistence.EntityTransaction;
|
|||
import javax.persistence.NoResultException;
|
||||
import javax.persistence.Query;
|
||||
|
||||
import org.rometools.certiorem.hub.data.HubDAO;
|
||||
import org.rometools.certiorem.hub.data.Subscriber;
|
||||
import org.rometools.certiorem.hub.data.SubscriptionSummary;
|
||||
import com.rometools.certiorem.hub.data.HubDAO;
|
||||
import com.rometools.certiorem.hub.data.Subscriber;
|
||||
import com.rometools.certiorem.hub.data.SubscriptionSummary;
|
||||
|
||||
/**
|
||||
*
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.rometools.certiorem.hub.data.jpa;
|
||||
package com.rometools.certiorem.hub.data.jpa;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
@ -28,7 +28,7 @@ import javax.persistence.NamedQuery;
|
|||
import javax.persistence.Temporal;
|
||||
import javax.persistence.TemporalType;
|
||||
|
||||
import org.rometools.certiorem.hub.data.Subscriber;
|
||||
import com.rometools.certiorem.hub.data.Subscriber;
|
||||
|
||||
/**
|
||||
*
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.rometools.certiorem.hub.data.ram;
|
||||
package com.rometools.certiorem.hub.data.ram;
|
||||
|
||||
import java.util.Collections;
|
||||
import java.util.LinkedList;
|
||||
|
@ -24,9 +24,9 @@ import java.util.List;
|
|||
import java.util.concurrent.ConcurrentHashMap;
|
||||
import java.util.concurrent.CopyOnWriteArrayList;
|
||||
|
||||
import org.rometools.certiorem.hub.data.HubDAO;
|
||||
import org.rometools.certiorem.hub.data.Subscriber;
|
||||
import org.rometools.certiorem.hub.data.SubscriptionSummary;
|
||||
import com.rometools.certiorem.hub.data.HubDAO;
|
||||
import com.rometools.certiorem.hub.data.Subscriber;
|
||||
import com.rometools.certiorem.hub.data.SubscriptionSummary;
|
||||
|
||||
/**
|
||||
* A Simple In-Memory HubDAO for subscribers.
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.rometools.certiorem.hub.notify.standard;
|
||||
package com.rometools.certiorem.hub.notify.standard;
|
||||
|
||||
import java.io.ByteArrayOutputStream;
|
||||
import java.io.IOException;
|
||||
|
@ -27,15 +27,15 @@ import java.net.MalformedURLException;
|
|||
import java.net.URL;
|
||||
import java.util.List;
|
||||
|
||||
import org.rometools.certiorem.hub.Notifier;
|
||||
import org.rometools.certiorem.hub.data.Subscriber;
|
||||
import org.rometools.certiorem.hub.data.SubscriptionSummary;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
import com.sun.syndication.feed.synd.SyndFeed;
|
||||
import com.sun.syndication.io.FeedException;
|
||||
import com.sun.syndication.io.SyndFeedOutput;
|
||||
import com.rometools.certiorem.hub.Notifier;
|
||||
import com.rometools.certiorem.hub.data.Subscriber;
|
||||
import com.rometools.certiorem.hub.data.SubscriptionSummary;
|
||||
import com.rometools.rome.feed.synd.SyndFeed;
|
||||
import com.rometools.rome.io.FeedException;
|
||||
import com.rometools.rome.io.SyndFeedOutput;
|
||||
|
||||
/**
|
||||
*
|
|
@ -16,10 +16,10 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.rometools.certiorem.hub.notify.standard;
|
||||
package com.rometools.certiorem.hub.notify.standard;
|
||||
|
||||
import org.rometools.certiorem.hub.Notifier.SubscriptionSummaryCallback;
|
||||
import org.rometools.certiorem.hub.data.Subscriber;
|
||||
import com.rometools.certiorem.hub.Notifier.SubscriptionSummaryCallback;
|
||||
import com.rometools.certiorem.hub.data.Subscriber;
|
||||
|
||||
/**
|
||||
*
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.rometools.certiorem.hub.notify.standard;
|
||||
package com.rometools.certiorem.hub.notify.standard;
|
||||
|
||||
import java.util.Timer;
|
||||
import java.util.TimerTask;
|
||||
|
@ -25,7 +25,7 @@ import java.util.concurrent.LinkedBlockingQueue;
|
|||
import java.util.concurrent.ThreadPoolExecutor;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
|
||||
import org.rometools.certiorem.hub.data.SubscriptionSummary;
|
||||
import com.rometools.certiorem.hub.data.SubscriptionSummary;
|
||||
|
||||
/**
|
||||
* A notifier implementation that uses a thread pool to deliver notifications to subscribers
|
|
@ -16,9 +16,9 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.rometools.certiorem.hub.notify.standard;
|
||||
package com.rometools.certiorem.hub.notify.standard;
|
||||
|
||||
import org.rometools.certiorem.hub.data.SubscriptionSummary;
|
||||
import com.rometools.certiorem.hub.data.SubscriptionSummary;
|
||||
|
||||
/**
|
||||
* A notifier that does not use threads. All calls are blocking and synchronous.
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.rometools.certiorem.hub.verify.standard;
|
||||
package com.rometools.certiorem.hub.verify.standard;
|
||||
|
||||
import java.io.BufferedReader;
|
||||
import java.io.IOException;
|
||||
|
@ -28,11 +28,12 @@ import java.net.URL;
|
|||
import java.net.URLEncoder;
|
||||
import java.util.UUID;
|
||||
|
||||
import org.rometools.certiorem.hub.Verifier;
|
||||
import org.rometools.certiorem.hub.data.Subscriber;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
import com.rometools.certiorem.hub.Verifier;
|
||||
import com.rometools.certiorem.hub.data.Subscriber;
|
||||
|
||||
/**
|
||||
* An abstract verifier based on the java.net HTTP classes. This implements only synchronous
|
||||
* operations, and expects a child class to do Async ops.
|
|
@ -16,13 +16,13 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.rometools.certiorem.hub.verify.standard;
|
||||
package com.rometools.certiorem.hub.verify.standard;
|
||||
|
||||
import java.util.concurrent.LinkedBlockingQueue;
|
||||
import java.util.concurrent.ThreadPoolExecutor;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
|
||||
import org.rometools.certiorem.hub.data.Subscriber;
|
||||
import com.rometools.certiorem.hub.data.Subscriber;
|
||||
|
||||
/**
|
||||
* Uses a ThreadPoolExecutor to do async verifications.
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.rometools.certiorem.hub.verify.standard;
|
||||
package com.rometools.certiorem.hub.verify.standard;
|
||||
|
||||
import java.util.concurrent.ThreadPoolExecutor;
|
||||
|
|
@ -16,9 +16,9 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.rometools.certiorem.hub.verify.standard;
|
||||
package com.rometools.certiorem.hub.verify.standard;
|
||||
|
||||
import org.rometools.certiorem.hub.data.Subscriber;
|
||||
import com.rometools.certiorem.hub.data.Subscriber;
|
||||
|
||||
/**
|
||||
* A verifier that does not use threads. Suitable for Google App Engine.
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.rometools.certiorem.pub;
|
||||
package com.rometools.certiorem.pub;
|
||||
|
||||
/**
|
||||
*
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.rometools.certiorem.pub;
|
||||
package com.rometools.certiorem.pub;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.io.OutputStream;
|
||||
|
@ -29,8 +29,8 @@ import java.util.concurrent.ThreadPoolExecutor;
|
|||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
import com.sun.syndication.feed.synd.SyndFeed;
|
||||
import com.sun.syndication.feed.synd.SyndLink;
|
||||
import com.rometools.rome.feed.synd.SyndFeed;
|
||||
import com.rometools.rome.feed.synd.SyndLink;
|
||||
|
||||
/**
|
||||
* A class for sending update notifications to a hub.
|
|
@ -16,9 +16,9 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.rometools.certiorem.sub;
|
||||
package com.rometools.certiorem.sub;
|
||||
|
||||
import org.rometools.certiorem.sub.data.Subscription;
|
||||
import com.rometools.certiorem.sub.data.Subscription;
|
||||
|
||||
/**
|
||||
*
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.rometools.certiorem.sub;
|
||||
package com.rometools.certiorem.sub;
|
||||
|
||||
import java.io.ByteArrayInputStream;
|
||||
import java.io.IOException;
|
||||
|
@ -29,20 +29,20 @@ import java.net.URISyntaxException;
|
|||
import java.net.URL;
|
||||
import java.util.UUID;
|
||||
|
||||
import org.rometools.certiorem.HttpStatusCodeException;
|
||||
import org.rometools.certiorem.sub.Requester.RequestCallback;
|
||||
import org.rometools.certiorem.sub.data.SubDAO;
|
||||
import org.rometools.certiorem.sub.data.Subscription;
|
||||
import org.rometools.certiorem.sub.data.SubscriptionCallback;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
import com.rometools.certiorem.HttpStatusCodeException;
|
||||
import com.rometools.certiorem.sub.Requester.RequestCallback;
|
||||
import com.rometools.certiorem.sub.data.SubDAO;
|
||||
import com.rometools.certiorem.sub.data.Subscription;
|
||||
import com.rometools.certiorem.sub.data.SubscriptionCallback;
|
||||
import com.rometools.fetcher.impl.FeedFetcherCache;
|
||||
import com.rometools.fetcher.impl.SyndFeedInfo;
|
||||
import com.sun.syndication.feed.synd.SyndFeed;
|
||||
import com.sun.syndication.feed.synd.SyndLink;
|
||||
import com.sun.syndication.io.FeedException;
|
||||
import com.sun.syndication.io.SyndFeedInput;
|
||||
import com.rometools.rome.feed.synd.SyndFeed;
|
||||
import com.rometools.rome.feed.synd.SyndLink;
|
||||
import com.rometools.rome.io.FeedException;
|
||||
import com.rometools.rome.io.SyndFeedInput;
|
||||
|
||||
/**
|
||||
*
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.rometools.certiorem.sub.data;
|
||||
package com.rometools.certiorem.sub.data;
|
||||
|
||||
/**
|
||||
*
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.rometools.certiorem.sub.data;
|
||||
package com.rometools.certiorem.sub.data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
* and open the template in the editor.
|
||||
*/
|
||||
|
||||
package org.rometools.certiorem.sub.data;
|
||||
package com.rometools.certiorem.sub.data;
|
||||
|
||||
import com.rometools.fetcher.impl.SyndFeedInfo;
|
||||
|
|
@ -21,16 +21,17 @@
|
|||
* and open the template in the editor.
|
||||
*/
|
||||
|
||||
package org.rometools.certiorem.sub.data.ram;
|
||||
package com.rometools.certiorem.sub.data.ram;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.concurrent.ConcurrentHashMap;
|
||||
|
||||
import org.rometools.certiorem.sub.data.SubDAO;
|
||||
import org.rometools.certiorem.sub.data.Subscription;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
import com.rometools.certiorem.sub.data.SubDAO;
|
||||
import com.rometools.certiorem.sub.data.Subscription;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author robert.cooper
|
|
@ -16,15 +16,15 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.rometools.certiorem.sub.request;
|
||||
package com.rometools.certiorem.sub.request;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.net.HttpURLConnection;
|
||||
import java.net.URL;
|
||||
import java.net.URLEncoder;
|
||||
|
||||
import org.rometools.certiorem.sub.Requester;
|
||||
import org.rometools.certiorem.sub.data.Subscription;
|
||||
import com.rometools.certiorem.sub.Requester;
|
||||
import com.rometools.certiorem.sub.data.Subscription;
|
||||
|
||||
/**
|
||||
*
|
|
@ -16,14 +16,15 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.rometools.certiorem.sub.request;
|
||||
package com.rometools.certiorem.sub.request;
|
||||
|
||||
import java.io.IOException;
|
||||
|
||||
import org.rometools.certiorem.sub.data.Subscription;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
import com.rometools.certiorem.sub.data.Subscription;
|
||||
|
||||
/**
|
||||
* A simple requester implementation that always makes requests as Async.
|
||||
*
|
|
@ -20,14 +20,15 @@
|
|||
* To change this template, choose Tools | Templates
|
||||
* and open the template in the editor.
|
||||
*/
|
||||
package org.rometools.certiorem.sub.request;
|
||||
package com.rometools.certiorem.sub.request;
|
||||
|
||||
import java.io.IOException;
|
||||
|
||||
import org.rometools.certiorem.sub.data.Subscription;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
import com.rometools.certiorem.sub.data.Subscription;
|
||||
|
||||
/**
|
||||
* A simple requester implementation that always makes requests as Async.
|
||||
*
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.rometools.certiorem.web;
|
||||
package com.rometools.certiorem.web;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.Arrays;
|
||||
|
@ -26,8 +26,8 @@ import javax.servlet.http.HttpServlet;
|
|||
import javax.servlet.http.HttpServletRequest;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
|
||||
import org.rometools.certiorem.HttpStatusCodeException;
|
||||
import org.rometools.certiorem.hub.Hub;
|
||||
import com.rometools.certiorem.HttpStatusCodeException;
|
||||
import com.rometools.certiorem.hub.Hub;
|
||||
|
||||
/**
|
||||
*
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.rometools.certiorem.web;
|
||||
package com.rometools.certiorem.web;
|
||||
|
||||
import java.io.IOException;
|
||||
|
||||
|
@ -26,8 +26,8 @@ import javax.servlet.http.HttpServlet;
|
|||
import javax.servlet.http.HttpServletRequest;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
|
||||
import org.rometools.certiorem.HttpStatusCodeException;
|
||||
import org.rometools.certiorem.sub.Subscriptions;
|
||||
import com.rometools.certiorem.HttpStatusCodeException;
|
||||
import com.rometools.certiorem.sub.Subscriptions;
|
||||
|
||||
/**
|
||||
*
|
|
@ -16,9 +16,10 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.rometools.certiorem.hub;
|
||||
package com.rometools.certiorem.hub;
|
||||
|
||||
import org.rometools.certiorem.hub.data.Subscriber;
|
||||
import com.rometools.certiorem.hub.Verifier;
|
||||
import com.rometools.certiorem.hub.data.Subscriber;
|
||||
|
||||
/**
|
||||
*
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.rometools.certiorem.hub;
|
||||
package com.rometools.certiorem.hub;
|
||||
|
||||
import static org.junit.Assert.assertEquals;
|
||||
import static org.junit.Assert.fail;
|
||||
|
@ -26,12 +26,14 @@ import org.junit.AfterClass;
|
|||
import org.junit.Before;
|
||||
import org.junit.BeforeClass;
|
||||
import org.junit.Test;
|
||||
import org.rometools.certiorem.HttpStatusCodeException;
|
||||
import org.rometools.certiorem.hub.data.HubDAO;
|
||||
import org.rometools.certiorem.hub.data.ram.InMemoryHubDAO;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
import com.rometools.certiorem.HttpStatusCodeException;
|
||||
import com.rometools.certiorem.hub.Hub;
|
||||
import com.rometools.certiorem.hub.Notifier;
|
||||
import com.rometools.certiorem.hub.data.HubDAO;
|
||||
import com.rometools.certiorem.hub.data.ram.InMemoryHubDAO;
|
||||
import com.rometools.fetcher.FeedFetcher;
|
||||
import com.rometools.fetcher.impl.HashMapFeedInfoCache;
|
||||
import com.rometools.fetcher.impl.HttpURLFeedFetcher;
|
|
@ -2,7 +2,7 @@
|
|||
* To change this template, choose Tools | Templates
|
||||
* and open the template in the editor.
|
||||
*/
|
||||
package org.rometools.certiorem.hub;
|
||||
package com.rometools.certiorem.hub;
|
||||
|
||||
import static org.junit.Assert.assertTrue;
|
||||
|
||||
|
@ -13,10 +13,11 @@ import java.util.List;
|
|||
import org.junit.Before;
|
||||
import org.junit.Test;
|
||||
|
||||
import com.rometools.certiorem.hub.DeltaFeedInfoCache;
|
||||
import com.rometools.fetcher.impl.HashMapFeedInfoCache;
|
||||
import com.rometools.fetcher.impl.HttpURLFeedFetcher;
|
||||
import com.sun.syndication.feed.synd.SyndEntry;
|
||||
import com.sun.syndication.feed.synd.SyndFeed;
|
||||
import com.rometools.rome.feed.synd.SyndEntry;
|
||||
import com.rometools.rome.feed.synd.SyndFeed;
|
||||
|
||||
/**
|
||||
*
|
|
@ -16,9 +16,10 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.rometools.certiorem.hub;
|
||||
package com.rometools.certiorem.hub;
|
||||
|
||||
import org.rometools.certiorem.hub.data.Subscriber;
|
||||
import com.rometools.certiorem.hub.Verifier;
|
||||
import com.rometools.certiorem.hub.data.Subscriber;
|
||||
|
||||
/**
|
||||
*
|
|
@ -16,9 +16,10 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.rometools.certiorem.hub;
|
||||
package com.rometools.certiorem.hub;
|
||||
|
||||
import org.rometools.certiorem.hub.data.Subscriber;
|
||||
import com.rometools.certiorem.hub.Verifier;
|
||||
import com.rometools.certiorem.hub.data.Subscriber;
|
||||
|
||||
/**
|
||||
*
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.rometools.certiorem.hub.data;
|
||||
package com.rometools.certiorem.hub.data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
|
@ -25,6 +25,9 @@ import org.junit.Test;
|
|||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
import com.rometools.certiorem.hub.data.HubDAO;
|
||||
import com.rometools.certiorem.hub.data.Subscriber;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author robert.cooper
|
|
@ -16,10 +16,11 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.rometools.certiorem.hub.data.ram;
|
||||
package com.rometools.certiorem.hub.data.ram;
|
||||
|
||||
import org.rometools.certiorem.hub.data.AbstractDAOTest;
|
||||
import org.rometools.certiorem.hub.data.HubDAO;
|
||||
import com.rometools.certiorem.hub.data.AbstractDAOTest;
|
||||
import com.rometools.certiorem.hub.data.HubDAO;
|
||||
import com.rometools.certiorem.hub.data.ram.InMemoryHubDAO;
|
||||
|
||||
/**
|
||||
*
|
Loading…
Reference in a new issue