From 9b0a8a076f38856a93f2da84d92cc79eb4d95d28 Mon Sep 17 00:00:00 2001 From: Dave Johnson Date: Sun, 27 Apr 2014 16:40:14 -0400 Subject: [PATCH] Renamed packages to match new Maven group id of "org.rometools". --- .../atom/client/AtomClientFactory.java | 4 +-- .../propono/atom/client/AuthStrategy.java | 4 +-- .../atom/client/BasicAuthStrategy.java | 4 +-- .../atom/client/ClientAtomService.java | 6 ++-- .../propono/atom/client/ClientCategories.java | 6 ++-- .../propono/atom/client/ClientCollection.java | 12 ++++---- .../propono/atom/client/ClientEntry.java | 6 ++-- .../propono/atom/client/ClientMediaEntry.java | 6 ++-- .../propono/atom/client/ClientWorkspace.java | 8 ++--- .../propono/atom/client/EntryIterator.java | 4 +-- .../atom/client/GDataAuthStrategy.java | 4 +-- .../propono/atom/client/NoAuthStrategy.java | 4 +-- .../propono/atom/client/OAuthStrategy.java | 4 +-- .../atom/client/atomclient-diagram.gif | Bin .../propono/atom/common/AtomService.java | 4 +-- .../propono/atom/common/Categories.java | 2 +- .../propono/atom/common/Collection.java | 4 +-- .../propono/atom/common/Workspace.java | 4 +-- .../propono/atom/common/rome/AppModule.java | 2 +- .../atom/common/rome/AppModuleGenerator.java | 2 +- .../atom/common/rome/AppModuleImpl.java | 2 +- .../atom/common/rome/AppModuleParser.java | 2 +- .../propono/atom/server/AtomException.java | 2 +- .../propono/atom/server/AtomHandler.java | 6 ++-- .../atom/server/AtomHandlerFactory.java | 6 ++-- .../atom/server/AtomMediaResource.java | 2 +- .../server/AtomNotAuthorizedException.java | 2 +- .../atom/server/AtomNotFoundException.java | 2 +- .../propono/atom/server/AtomRequest.java | 2 +- .../propono/atom/server/AtomRequestImpl.java | 2 +- .../propono/atom/server/AtomServlet.java | 8 ++--- .../atom/server/ConfigurationError.java | 2 +- .../server/FactoryConfigurationError.java | 2 +- .../propono/atom/server/FactoryFinder.java | 2 +- .../propono/atom/server/SecuritySupport.java | 2 +- .../server/impl/FileBasedAtomHandler.java | 16 +++++----- .../impl/FileBasedAtomHandlerFactory.java | 6 ++-- .../server/impl/FileBasedAtomService.java | 6 ++-- .../atom/server/impl/FileBasedCollection.java | 18 +++++------ .../atom/server/impl/FileBasedWorkspace.java | 4 +-- .../propono/atom/server/impl/FileStore.java | 2 +- .../propono/blogclient/BaseBlogEntry.java | 2 +- .../rometools/propono/blogclient/Blog.java | 2 +- .../blogclient/BlogClientException.java | 2 +- .../propono/blogclient/BlogConnection.java | 2 +- .../blogclient/BlogConnectionFactory.java | 6 ++-- .../propono/blogclient/BlogEntry.java | 2 +- .../propono/blogclient/BlogResource.java | 2 +- .../blogclient/atomprotocol/AtomBlog.java | 26 ++++++++-------- .../atomprotocol/AtomCollection.java | 18 +++++------ .../atomprotocol/AtomConnection.java | 18 +++++------ .../blogclient/atomprotocol/AtomEntry.java | 16 +++++----- .../atomprotocol/AtomEntryIterator.java | 10 +++---- .../blogclient/atomprotocol/AtomResource.java | 16 +++++----- .../propono/blogclient/blogclient-diagram.gif | Bin .../blogclient/metaweblog/MetaWeblogBlog.java | 12 ++++---- .../metaweblog/MetaWeblogConnection.java | 8 ++--- .../metaweblog/MetaWeblogEntry.java | 8 ++--- .../metaweblog/MetaWeblogResource.java | 6 ++-- .../blogclient/metaweblog/NoOpIterator.java | 2 +- .../propono/utils/ProponoException.java | 2 +- .../rometools/propono/utils/Utilities.java | 2 +- src/main/resources/rome.properties | 4 +-- .../propono/atom/client/AtomClientTest.java | 15 +++++++--- .../atom/client/BloggerDotComTest.java | 7 ++++- .../propono/atom/common/AtomServiceTest.java | 6 +++- .../propono/atom/common/CollectionTest.java | 3 +- .../atom/server/AtomClientServerTest.java | 28 +++++++++--------- .../atom/server/TestAtomHandlerFactory.java | 4 ++- .../atom/server/TestAtomHandlerImpl.java | 4 +-- .../blogclient/SimpleBlogClientTest.java | 11 +++++-- src/test/resources/simplelog.properties | 6 ++-- 72 files changed, 230 insertions(+), 206 deletions(-) rename src/main/java/{org => com}/rometools/propono/atom/client/AtomClientFactory.java (93%) rename src/main/java/{org => com}/rometools/propono/atom/client/AuthStrategy.java (90%) rename src/main/java/{org => com}/rometools/propono/atom/client/BasicAuthStrategy.java (93%) rename src/main/java/{org => com}/rometools/propono/atom/client/ClientAtomService.java (97%) rename src/main/java/{org => com}/rometools/propono/atom/client/ClientCategories.java (94%) rename src/main/java/{org => com}/rometools/propono/atom/client/ClientCollection.java (96%) rename src/main/java/{org => com}/rometools/propono/atom/client/ClientEntry.java (98%) rename src/main/java/{org => com}/rometools/propono/atom/client/ClientMediaEntry.java (98%) rename src/main/java/{org => com}/rometools/propono/atom/client/ClientWorkspace.java (91%) rename src/main/java/{org => com}/rometools/propono/atom/client/EntryIterator.java (97%) rename src/main/java/{org => com}/rometools/propono/atom/client/GDataAuthStrategy.java (96%) rename src/main/java/{org => com}/rometools/propono/atom/client/NoAuthStrategy.java (90%) rename src/main/java/{org => com}/rometools/propono/atom/client/OAuthStrategy.java (99%) rename src/main/java/{org => com}/rometools/propono/atom/client/atomclient-diagram.gif (100%) rename src/main/java/{org => com}/rometools/propono/atom/common/AtomService.java (97%) rename src/main/java/{org => com}/rometools/propono/atom/common/Categories.java (99%) rename src/main/java/{org => com}/rometools/propono/atom/common/Collection.java (98%) rename src/main/java/{org => com}/rometools/propono/atom/common/Workspace.java (98%) rename src/main/java/{org => com}/rometools/propono/atom/common/rome/AppModule.java (96%) rename src/main/java/{org => com}/rometools/propono/atom/common/rome/AppModuleGenerator.java (98%) rename src/main/java/{org => com}/rometools/propono/atom/common/rome/AppModuleImpl.java (97%) rename src/main/java/{org => com}/rometools/propono/atom/common/rome/AppModuleParser.java (98%) rename src/main/java/{org => com}/rometools/propono/atom/server/AtomException.java (97%) rename src/main/java/{org => com}/rometools/propono/atom/server/AtomHandler.java (97%) rename src/main/java/{org => com}/rometools/propono/atom/server/AtomHandlerFactory.java (96%) rename src/main/java/{org => com}/rometools/propono/atom/server/AtomMediaResource.java (98%) rename src/main/java/{org => com}/rometools/propono/atom/server/AtomNotAuthorizedException.java (97%) rename src/main/java/{org => com}/rometools/propono/atom/server/AtomNotFoundException.java (97%) rename src/main/java/{org => com}/rometools/propono/atom/server/AtomRequest.java (98%) rename src/main/java/{org => com}/rometools/propono/atom/server/AtomRequestImpl.java (98%) rename src/main/java/{org => com}/rometools/propono/atom/server/AtomServlet.java (98%) rename src/main/java/{org => com}/rometools/propono/atom/server/ConfigurationError.java (86%) rename src/main/java/{org => com}/rometools/propono/atom/server/FactoryConfigurationError.java (98%) rename src/main/java/{org => com}/rometools/propono/atom/server/FactoryFinder.java (99%) rename src/main/java/{org => com}/rometools/propono/atom/server/SecuritySupport.java (98%) rename src/main/java/{org => com}/rometools/propono/atom/server/impl/FileBasedAtomHandler.java (97%) rename src/main/java/{org => com}/rometools/propono/atom/server/impl/FileBasedAtomHandlerFactory.java (87%) rename src/main/java/{org => com}/rometools/propono/atom/server/impl/FileBasedAtomService.java (98%) rename src/main/java/{org => com}/rometools/propono/atom/server/impl/FileBasedCollection.java (98%) rename src/main/java/{org => com}/rometools/propono/atom/server/impl/FileBasedWorkspace.java (89%) rename src/main/java/{org => com}/rometools/propono/atom/server/impl/FileStore.java (98%) rename src/main/java/{org => com}/rometools/propono/blogclient/BaseBlogEntry.java (98%) rename src/main/java/{org => com}/rometools/propono/blogclient/Blog.java (99%) rename src/main/java/{org => com}/rometools/propono/blogclient/BlogClientException.java (96%) rename src/main/java/{org => com}/rometools/propono/blogclient/BlogConnection.java (96%) rename src/main/java/{org => com}/rometools/propono/blogclient/BlogConnectionFactory.java (94%) rename src/main/java/{org => com}/rometools/propono/blogclient/BlogEntry.java (99%) rename src/main/java/{org => com}/rometools/propono/blogclient/BlogResource.java (97%) rename src/main/java/{org => com}/rometools/propono/blogclient/atomprotocol/AtomBlog.java (90%) rename src/main/java/{org => com}/rometools/propono/blogclient/atomprotocol/AtomCollection.java (89%) rename src/main/java/{org => com}/rometools/propono/blogclient/atomprotocol/AtomConnection.java (82%) rename src/main/java/{org => com}/rometools/propono/blogclient/atomprotocol/AtomEntry.java (94%) rename src/main/java/{org => com}/rometools/propono/blogclient/atomprotocol/AtomEntryIterator.java (88%) rename src/main/java/{org => com}/rometools/propono/blogclient/atomprotocol/AtomResource.java (89%) rename src/main/java/{org => com}/rometools/propono/blogclient/blogclient-diagram.gif (100%) rename src/main/java/{org => com}/rometools/propono/blogclient/metaweblog/MetaWeblogBlog.java (97%) rename src/main/java/{org => com}/rometools/propono/blogclient/metaweblog/MetaWeblogConnection.java (93%) rename src/main/java/{org => com}/rometools/propono/blogclient/metaweblog/MetaWeblogEntry.java (94%) rename src/main/java/{org => com}/rometools/propono/blogclient/metaweblog/MetaWeblogResource.java (94%) rename src/main/java/{org => com}/rometools/propono/blogclient/metaweblog/NoOpIterator.java (80%) rename src/main/java/{org => com}/rometools/propono/utils/ProponoException.java (99%) rename src/main/java/{org => com}/rometools/propono/utils/Utilities.java (99%) rename src/test/java/{org => com}/rometools/propono/atom/client/AtomClientTest.java (96%) rename src/test/java/{org => com}/rometools/propono/atom/client/BloggerDotComTest.java (89%) rename src/test/java/{org => com}/rometools/propono/atom/common/AtomServiceTest.java (95%) rename src/test/java/{org => com}/rometools/propono/atom/common/CollectionTest.java (95%) rename src/test/java/{org => com}/rometools/propono/atom/server/AtomClientServerTest.java (94%) rename src/test/java/{org => com}/rometools/propono/atom/server/TestAtomHandlerFactory.java (85%) rename src/test/java/{org => com}/rometools/propono/atom/server/TestAtomHandlerImpl.java (90%) rename src/test/java/{org => com}/rometools/propono/blogclient/SimpleBlogClientTest.java (94%) diff --git a/src/main/java/org/rometools/propono/atom/client/AtomClientFactory.java b/src/main/java/com/rometools/propono/atom/client/AtomClientFactory.java similarity index 93% rename from src/main/java/org/rometools/propono/atom/client/AtomClientFactory.java rename to src/main/java/com/rometools/propono/atom/client/AtomClientFactory.java index ba970cf..159ed50 100644 --- a/src/main/java/org/rometools/propono/atom/client/AtomClientFactory.java +++ b/src/main/java/com/rometools/propono/atom/client/AtomClientFactory.java @@ -13,9 +13,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.rometools.propono.atom.client; +package com.rometools.propono.atom.client; -import org.rometools.propono.utils.ProponoException; +import com.rometools.propono.utils.ProponoException; import com.sun.syndication.io.impl.Atom10Parser; diff --git a/src/main/java/org/rometools/propono/atom/client/AuthStrategy.java b/src/main/java/com/rometools/propono/atom/client/AuthStrategy.java similarity index 90% rename from src/main/java/org/rometools/propono/atom/client/AuthStrategy.java rename to src/main/java/com/rometools/propono/atom/client/AuthStrategy.java index 07af888..15e5365 100644 --- a/src/main/java/org/rometools/propono/atom/client/AuthStrategy.java +++ b/src/main/java/com/rometools/propono/atom/client/AuthStrategy.java @@ -13,11 +13,11 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.rometools.propono.atom.client; +package com.rometools.propono.atom.client; import org.apache.commons.httpclient.HttpClient; import org.apache.commons.httpclient.HttpMethodBase; -import org.rometools.propono.utils.ProponoException; +import com.rometools.propono.utils.ProponoException; public interface AuthStrategy { diff --git a/src/main/java/org/rometools/propono/atom/client/BasicAuthStrategy.java b/src/main/java/com/rometools/propono/atom/client/BasicAuthStrategy.java similarity index 93% rename from src/main/java/org/rometools/propono/atom/client/BasicAuthStrategy.java rename to src/main/java/com/rometools/propono/atom/client/BasicAuthStrategy.java index 6ca75b1..332ae66 100644 --- a/src/main/java/org/rometools/propono/atom/client/BasicAuthStrategy.java +++ b/src/main/java/com/rometools/propono/atom/client/BasicAuthStrategy.java @@ -13,11 +13,11 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.rometools.propono.atom.client; +package com.rometools.propono.atom.client; import org.apache.commons.httpclient.HttpClient; import org.apache.commons.httpclient.HttpMethodBase; -import org.rometools.propono.utils.ProponoException; +import com.rometools.propono.utils.ProponoException; import com.sun.syndication.io.impl.Base64; diff --git a/src/main/java/org/rometools/propono/atom/client/ClientAtomService.java b/src/main/java/com/rometools/propono/atom/client/ClientAtomService.java similarity index 97% rename from src/main/java/org/rometools/propono/atom/client/ClientAtomService.java rename to src/main/java/com/rometools/propono/atom/client/ClientAtomService.java index b6909d8..eef9714 100644 --- a/src/main/java/org/rometools/propono/atom/client/ClientAtomService.java +++ b/src/main/java/com/rometools/propono/atom/client/ClientAtomService.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.rometools.propono.atom.client; +package com.rometools.propono.atom.client; import java.io.InputStreamReader; import java.util.List; @@ -26,8 +26,8 @@ import org.apache.commons.httpclient.methods.GetMethod; import org.jdom2.Document; import org.jdom2.Element; import org.jdom2.input.SAXBuilder; -import org.rometools.propono.atom.common.AtomService; -import org.rometools.propono.utils.ProponoException; +import com.rometools.propono.atom.common.AtomService; +import com.rometools.propono.utils.ProponoException; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/src/main/java/org/rometools/propono/atom/client/ClientCategories.java b/src/main/java/com/rometools/propono/atom/client/ClientCategories.java similarity index 94% rename from src/main/java/org/rometools/propono/atom/client/ClientCategories.java rename to src/main/java/com/rometools/propono/atom/client/ClientCategories.java index d8f7876..d9c5fa7 100644 --- a/src/main/java/org/rometools/propono/atom/client/ClientCategories.java +++ b/src/main/java/com/rometools/propono/atom/client/ClientCategories.java @@ -15,7 +15,7 @@ * copyright in this work, please see the NOTICE file in the top level * directory of this distribution. */ -package org.rometools.propono.atom.client; +package com.rometools.propono.atom.client; import java.io.IOException; import java.io.InputStreamReader; @@ -25,8 +25,8 @@ import org.jdom2.Document; import org.jdom2.Element; import org.jdom2.JDOMException; import org.jdom2.input.SAXBuilder; -import org.rometools.propono.atom.common.Categories; -import org.rometools.propono.utils.ProponoException; +import com.rometools.propono.atom.common.Categories; +import com.rometools.propono.utils.ProponoException; /** * Models an Atom protocol Categories element, which may contain ROME Atom {@link com.sun.syndication.feed.atom.Category} elements. diff --git a/src/main/java/org/rometools/propono/atom/client/ClientCollection.java b/src/main/java/com/rometools/propono/atom/client/ClientCollection.java similarity index 96% rename from src/main/java/org/rometools/propono/atom/client/ClientCollection.java rename to src/main/java/com/rometools/propono/atom/client/ClientCollection.java index 613291f..2fe0ed2 100644 --- a/src/main/java/org/rometools/propono/atom/client/ClientCollection.java +++ b/src/main/java/com/rometools/propono/atom/client/ClientCollection.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.rometools.propono.atom.client; +package com.rometools.propono.atom.client; import java.io.InputStream; import java.io.InputStreamReader; @@ -26,11 +26,11 @@ import org.apache.commons.httpclient.HttpMethodBase; import org.apache.commons.httpclient.MultiThreadedHttpConnectionManager; import org.apache.commons.httpclient.methods.GetMethod; import org.jdom2.Element; -import org.rometools.propono.atom.common.AtomService; -import org.rometools.propono.atom.common.Categories; -import org.rometools.propono.atom.common.Collection; -import org.rometools.propono.atom.common.Workspace; -import org.rometools.propono.utils.ProponoException; +import com.rometools.propono.atom.common.AtomService; +import com.rometools.propono.atom.common.Categories; +import com.rometools.propono.atom.common.Collection; +import com.rometools.propono.atom.common.Workspace; +import com.rometools.propono.utils.ProponoException; import com.sun.syndication.feed.atom.Entry; import com.sun.syndication.io.impl.Atom10Parser; diff --git a/src/main/java/org/rometools/propono/atom/client/ClientEntry.java b/src/main/java/com/rometools/propono/atom/client/ClientEntry.java similarity index 98% rename from src/main/java/org/rometools/propono/atom/client/ClientEntry.java rename to src/main/java/com/rometools/propono/atom/client/ClientEntry.java index 2e79e25..d32bb21 100644 --- a/src/main/java/org/rometools/propono/atom/client/ClientEntry.java +++ b/src/main/java/com/rometools/propono/atom/client/ClientEntry.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.rometools.propono.atom.client; +package com.rometools.propono.atom.client; import java.io.IOException; import java.io.InputStream; @@ -33,8 +33,8 @@ import org.apache.commons.httpclient.methods.EntityEnclosingMethod; import org.apache.commons.httpclient.methods.PostMethod; import org.apache.commons.httpclient.methods.PutMethod; import org.apache.commons.httpclient.methods.StringRequestEntity; -import org.rometools.propono.utils.ProponoException; -import org.rometools.propono.utils.Utilities; +import com.rometools.propono.utils.ProponoException; +import com.rometools.propono.utils.Utilities; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/src/main/java/org/rometools/propono/atom/client/ClientMediaEntry.java b/src/main/java/com/rometools/propono/atom/client/ClientMediaEntry.java similarity index 98% rename from src/main/java/org/rometools/propono/atom/client/ClientMediaEntry.java rename to src/main/java/com/rometools/propono/atom/client/ClientMediaEntry.java index 8d3ceeb..539966c 100644 --- a/src/main/java/org/rometools/propono/atom/client/ClientMediaEntry.java +++ b/src/main/java/com/rometools/propono/atom/client/ClientMediaEntry.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.rometools.propono.atom.client; +package com.rometools.propono.atom.client; import java.io.ByteArrayInputStream; import java.io.IOException; @@ -34,8 +34,8 @@ import org.apache.commons.httpclient.methods.PostMethod; import org.apache.commons.httpclient.methods.PutMethod; import org.apache.commons.httpclient.methods.StringRequestEntity; import org.jdom2.JDOMException; -import org.rometools.propono.utils.ProponoException; -import org.rometools.propono.utils.Utilities; +import com.rometools.propono.utils.ProponoException; +import com.rometools.propono.utils.Utilities; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/src/main/java/org/rometools/propono/atom/client/ClientWorkspace.java b/src/main/java/com/rometools/propono/atom/client/ClientWorkspace.java similarity index 91% rename from src/main/java/org/rometools/propono/atom/client/ClientWorkspace.java rename to src/main/java/com/rometools/propono/atom/client/ClientWorkspace.java index d95e82b..e9dff2a 100644 --- a/src/main/java/org/rometools/propono/atom/client/ClientWorkspace.java +++ b/src/main/java/com/rometools/propono/atom/client/ClientWorkspace.java @@ -13,14 +13,14 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.rometools.propono.atom.client; +package com.rometools.propono.atom.client; import java.util.List; import org.jdom2.Element; -import org.rometools.propono.atom.common.AtomService; -import org.rometools.propono.atom.common.Workspace; -import org.rometools.propono.utils.ProponoException; +import com.rometools.propono.atom.common.AtomService; +import com.rometools.propono.atom.common.Workspace; +import com.rometools.propono.utils.ProponoException; /** * Represents Atom protocol workspace on client-side. It extends the common diff --git a/src/main/java/org/rometools/propono/atom/client/EntryIterator.java b/src/main/java/com/rometools/propono/atom/client/EntryIterator.java similarity index 97% rename from src/main/java/org/rometools/propono/atom/client/EntryIterator.java rename to src/main/java/com/rometools/propono/atom/client/EntryIterator.java index 3151629..ff09cce 100644 --- a/src/main/java/org/rometools/propono/atom/client/EntryIterator.java +++ b/src/main/java/com/rometools/propono/atom/client/EntryIterator.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.rometools.propono.atom.client; +package com.rometools.propono.atom.client; import java.util.Iterator; import java.util.List; @@ -22,7 +22,7 @@ import java.util.NoSuchElementException; import org.apache.commons.httpclient.methods.GetMethod; import org.jdom2.Document; import org.jdom2.input.SAXBuilder; -import org.rometools.propono.utils.ProponoException; +import com.rometools.propono.utils.ProponoException; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/src/main/java/org/rometools/propono/atom/client/GDataAuthStrategy.java b/src/main/java/com/rometools/propono/atom/client/GDataAuthStrategy.java similarity index 96% rename from src/main/java/org/rometools/propono/atom/client/GDataAuthStrategy.java rename to src/main/java/com/rometools/propono/atom/client/GDataAuthStrategy.java index 6cac614..56b658b 100644 --- a/src/main/java/org/rometools/propono/atom/client/GDataAuthStrategy.java +++ b/src/main/java/com/rometools/propono/atom/client/GDataAuthStrategy.java @@ -13,13 +13,13 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.rometools.propono.atom.client; +package com.rometools.propono.atom.client; import org.apache.commons.httpclient.HttpClient; import org.apache.commons.httpclient.HttpMethodBase; import org.apache.commons.httpclient.NameValuePair; import org.apache.commons.httpclient.methods.PostMethod; -import org.rometools.propono.utils.ProponoException; +import com.rometools.propono.utils.ProponoException; public class GDataAuthStrategy implements AuthStrategy { private final String email; diff --git a/src/main/java/org/rometools/propono/atom/client/NoAuthStrategy.java b/src/main/java/com/rometools/propono/atom/client/NoAuthStrategy.java similarity index 90% rename from src/main/java/org/rometools/propono/atom/client/NoAuthStrategy.java rename to src/main/java/com/rometools/propono/atom/client/NoAuthStrategy.java index 4a1e5ba..c37132e 100644 --- a/src/main/java/org/rometools/propono/atom/client/NoAuthStrategy.java +++ b/src/main/java/com/rometools/propono/atom/client/NoAuthStrategy.java @@ -13,11 +13,11 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.rometools.propono.atom.client; +package com.rometools.propono.atom.client; import org.apache.commons.httpclient.HttpClient; import org.apache.commons.httpclient.HttpMethodBase; -import org.rometools.propono.utils.ProponoException; +import com.rometools.propono.utils.ProponoException; /** * No authentication diff --git a/src/main/java/org/rometools/propono/atom/client/OAuthStrategy.java b/src/main/java/com/rometools/propono/atom/client/OAuthStrategy.java similarity index 99% rename from src/main/java/org/rometools/propono/atom/client/OAuthStrategy.java rename to src/main/java/com/rometools/propono/atom/client/OAuthStrategy.java index 94d2e50..8fc30a8 100644 --- a/src/main/java/org/rometools/propono/atom/client/OAuthStrategy.java +++ b/src/main/java/com/rometools/propono/atom/client/OAuthStrategy.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.rometools.propono.atom.client; +package com.rometools.propono.atom.client; import java.util.ArrayList; import java.util.Date; @@ -34,7 +34,7 @@ import org.apache.commons.httpclient.NameValuePair; import org.apache.commons.httpclient.methods.GetMethod; import org.apache.commons.httpclient.methods.PostMethod; import org.apache.commons.httpclient.util.ParameterParser; -import org.rometools.propono.utils.ProponoException; +import com.rometools.propono.utils.ProponoException; /** * Strategy for using OAuth. diff --git a/src/main/java/org/rometools/propono/atom/client/atomclient-diagram.gif b/src/main/java/com/rometools/propono/atom/client/atomclient-diagram.gif similarity index 100% rename from src/main/java/org/rometools/propono/atom/client/atomclient-diagram.gif rename to src/main/java/com/rometools/propono/atom/client/atomclient-diagram.gif diff --git a/src/main/java/org/rometools/propono/atom/common/AtomService.java b/src/main/java/com/rometools/propono/atom/common/AtomService.java similarity index 97% rename from src/main/java/org/rometools/propono/atom/common/AtomService.java rename to src/main/java/com/rometools/propono/atom/common/AtomService.java index a2f4a8d..05fd0a3 100644 --- a/src/main/java/org/rometools/propono/atom/common/AtomService.java +++ b/src/main/java/com/rometools/propono/atom/common/AtomService.java @@ -15,7 +15,7 @@ * copyright in this work, please see the NOTICE file in the top level * directory of this distribution. */ -package org.rometools.propono.atom.common; +package com.rometools.propono.atom.common; import java.util.ArrayList; import java.util.List; @@ -23,7 +23,7 @@ import java.util.List; import org.jdom2.Document; import org.jdom2.Element; import org.jdom2.Namespace; -import org.rometools.propono.utils.ProponoException; +import com.rometools.propono.utils.ProponoException; /** * Models an Atom Publishing Protocol Service Document. Is able to read a Service document from a diff --git a/src/main/java/org/rometools/propono/atom/common/Categories.java b/src/main/java/com/rometools/propono/atom/common/Categories.java similarity index 99% rename from src/main/java/org/rometools/propono/atom/common/Categories.java rename to src/main/java/com/rometools/propono/atom/common/Categories.java index 1c221b5..067a1ba 100644 --- a/src/main/java/org/rometools/propono/atom/common/Categories.java +++ b/src/main/java/com/rometools/propono/atom/common/Categories.java @@ -15,7 +15,7 @@ * copyright in this work, please see the NOTICE file in the top level * directory of this distribution. */ -package org.rometools.propono.atom.common; +package com.rometools.propono.atom.common; import java.util.ArrayList; import java.util.List; diff --git a/src/main/java/org/rometools/propono/atom/common/Collection.java b/src/main/java/com/rometools/propono/atom/common/Collection.java similarity index 98% rename from src/main/java/org/rometools/propono/atom/common/Collection.java rename to src/main/java/com/rometools/propono/atom/common/Collection.java index 56f7343..112f702 100644 --- a/src/main/java/org/rometools/propono/atom/common/Collection.java +++ b/src/main/java/com/rometools/propono/atom/common/Collection.java @@ -15,13 +15,13 @@ * copyright in this work, please see the NOTICE file in the top level * directory of this distribution. */ -package org.rometools.propono.atom.common; +package com.rometools.propono.atom.common; import java.util.ArrayList; import java.util.List; import org.jdom2.Element; -import org.rometools.propono.utils.ProponoException; +import com.rometools.propono.utils.ProponoException; import com.sun.syndication.io.impl.Atom10Parser; diff --git a/src/main/java/org/rometools/propono/atom/common/Workspace.java b/src/main/java/com/rometools/propono/atom/common/Workspace.java similarity index 98% rename from src/main/java/org/rometools/propono/atom/common/Workspace.java rename to src/main/java/com/rometools/propono/atom/common/Workspace.java index c9b23c5..49d7a96 100644 --- a/src/main/java/org/rometools/propono/atom/common/Workspace.java +++ b/src/main/java/com/rometools/propono/atom/common/Workspace.java @@ -15,13 +15,13 @@ * copyright in this work, please see the NOTICE file in the top level * directory of this distribution. */ -package org.rometools.propono.atom.common; +package com.rometools.propono.atom.common; import java.util.ArrayList; import java.util.List; import org.jdom2.Element; -import org.rometools.propono.utils.ProponoException; +import com.rometools.propono.utils.ProponoException; /** * Models an Atom workspace. diff --git a/src/main/java/org/rometools/propono/atom/common/rome/AppModule.java b/src/main/java/com/rometools/propono/atom/common/rome/AppModule.java similarity index 96% rename from src/main/java/org/rometools/propono/atom/common/rome/AppModule.java rename to src/main/java/com/rometools/propono/atom/common/rome/AppModule.java index a1c8b4e..5811a90 100644 --- a/src/main/java/org/rometools/propono/atom/common/rome/AppModule.java +++ b/src/main/java/com/rometools/propono/atom/common/rome/AppModule.java @@ -17,7 +17,7 @@ * copyright in this work, please see the NOTICE file in the top level * directory of this distribution. */ -package org.rometools.propono.atom.common.rome; +package com.rometools.propono.atom.common.rome; import java.util.Date; diff --git a/src/main/java/org/rometools/propono/atom/common/rome/AppModuleGenerator.java b/src/main/java/com/rometools/propono/atom/common/rome/AppModuleGenerator.java similarity index 98% rename from src/main/java/org/rometools/propono/atom/common/rome/AppModuleGenerator.java rename to src/main/java/com/rometools/propono/atom/common/rome/AppModuleGenerator.java index e5e48fe..221a535 100644 --- a/src/main/java/org/rometools/propono/atom/common/rome/AppModuleGenerator.java +++ b/src/main/java/com/rometools/propono/atom/common/rome/AppModuleGenerator.java @@ -17,7 +17,7 @@ * copyright in this work, please see the NOTICE file in the top level * directory of this distribution. */ -package org.rometools.propono.atom.common.rome; +package com.rometools.propono.atom.common.rome; import java.text.SimpleDateFormat; import java.util.Collections; diff --git a/src/main/java/org/rometools/propono/atom/common/rome/AppModuleImpl.java b/src/main/java/com/rometools/propono/atom/common/rome/AppModuleImpl.java similarity index 97% rename from src/main/java/org/rometools/propono/atom/common/rome/AppModuleImpl.java rename to src/main/java/com/rometools/propono/atom/common/rome/AppModuleImpl.java index 9f1b7b8..273e8f6 100644 --- a/src/main/java/org/rometools/propono/atom/common/rome/AppModuleImpl.java +++ b/src/main/java/com/rometools/propono/atom/common/rome/AppModuleImpl.java @@ -18,7 +18,7 @@ * copyright in this work, please see the NOTICE file in the top level * directory of this distribution. */ -package org.rometools.propono.atom.common.rome; +package com.rometools.propono.atom.common.rome; import java.util.Date; diff --git a/src/main/java/org/rometools/propono/atom/common/rome/AppModuleParser.java b/src/main/java/com/rometools/propono/atom/common/rome/AppModuleParser.java similarity index 98% rename from src/main/java/org/rometools/propono/atom/common/rome/AppModuleParser.java rename to src/main/java/com/rometools/propono/atom/common/rome/AppModuleParser.java index 2fec5b8..5d0c65f 100644 --- a/src/main/java/org/rometools/propono/atom/common/rome/AppModuleParser.java +++ b/src/main/java/com/rometools/propono/atom/common/rome/AppModuleParser.java @@ -17,7 +17,7 @@ * copyright in this work, please see the NOTICE file in the top level * directory of this distribution. */ -package org.rometools.propono.atom.common.rome; +package com.rometools.propono.atom.common.rome; import java.util.Locale; diff --git a/src/main/java/org/rometools/propono/atom/server/AtomException.java b/src/main/java/com/rometools/propono/atom/server/AtomException.java similarity index 97% rename from src/main/java/org/rometools/propono/atom/server/AtomException.java rename to src/main/java/com/rometools/propono/atom/server/AtomException.java index e18df2f..8fe0930 100644 --- a/src/main/java/org/rometools/propono/atom/server/AtomException.java +++ b/src/main/java/com/rometools/propono/atom/server/AtomException.java @@ -17,7 +17,7 @@ * copyright in this work, please see the NOTICE file in the top level * directory of this distribution. */ -package org.rometools.propono.atom.server; +package com.rometools.propono.atom.server; import javax.servlet.http.HttpServletResponse; diff --git a/src/main/java/org/rometools/propono/atom/server/AtomHandler.java b/src/main/java/com/rometools/propono/atom/server/AtomHandler.java similarity index 97% rename from src/main/java/org/rometools/propono/atom/server/AtomHandler.java rename to src/main/java/com/rometools/propono/atom/server/AtomHandler.java index eaafc29..3a081a7 100644 --- a/src/main/java/org/rometools/propono/atom/server/AtomHandler.java +++ b/src/main/java/com/rometools/propono/atom/server/AtomHandler.java @@ -17,10 +17,10 @@ * copyright in this work, please see the NOTICE file in the top level * directory of this distribution. */ -package org.rometools.propono.atom.server; +package com.rometools.propono.atom.server; -import org.rometools.propono.atom.common.AtomService; -import org.rometools.propono.atom.common.Categories; +import com.rometools.propono.atom.common.AtomService; +import com.rometools.propono.atom.common.Categories; import com.sun.syndication.feed.atom.Entry; import com.sun.syndication.feed.atom.Feed; diff --git a/src/main/java/org/rometools/propono/atom/server/AtomHandlerFactory.java b/src/main/java/com/rometools/propono/atom/server/AtomHandlerFactory.java similarity index 96% rename from src/main/java/org/rometools/propono/atom/server/AtomHandlerFactory.java rename to src/main/java/com/rometools/propono/atom/server/AtomHandlerFactory.java index 6a13e6b..f8dd35b 100644 --- a/src/main/java/org/rometools/propono/atom/server/AtomHandlerFactory.java +++ b/src/main/java/com/rometools/propono/atom/server/AtomHandlerFactory.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.rometools.propono.atom.server; +package com.rometools.propono.atom.server; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; @@ -36,8 +36,8 @@ public abstract class AtomHandlerFactory { private static final Logger LOG = LoggerFactory.getLogger(AtomHandlerFactory.class); - private static final String DEFAULT_PROPERTY_NAME = "org.rometools.propono.atom.server.AtomHandlerFactory"; - private static final String FALLBACK_IMPL_NAME = "org.rometools.propono.atom.server.impl.FileBasedAtomHandlerFactory"; + private static final String DEFAULT_PROPERTY_NAME = "com.rometools.propono.atom.server.AtomHandlerFactory"; + private static final String FALLBACK_IMPL_NAME = "com.rometools.propono.atom.server.impl.FileBasedAtomHandlerFactory"; /* *

Protected constructor to prevent instantiation. Use {@link #newInstance()}.

diff --git a/src/main/java/org/rometools/propono/atom/server/AtomMediaResource.java b/src/main/java/com/rometools/propono/atom/server/AtomMediaResource.java similarity index 98% rename from src/main/java/org/rometools/propono/atom/server/AtomMediaResource.java rename to src/main/java/com/rometools/propono/atom/server/AtomMediaResource.java index c742305..cb0bd36 100644 --- a/src/main/java/org/rometools/propono/atom/server/AtomMediaResource.java +++ b/src/main/java/com/rometools/propono/atom/server/AtomMediaResource.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package org.rometools.propono.atom.server; +package com.rometools.propono.atom.server; import java.io.File; import java.io.FileInputStream; diff --git a/src/main/java/org/rometools/propono/atom/server/AtomNotAuthorizedException.java b/src/main/java/com/rometools/propono/atom/server/AtomNotAuthorizedException.java similarity index 97% rename from src/main/java/org/rometools/propono/atom/server/AtomNotAuthorizedException.java rename to src/main/java/com/rometools/propono/atom/server/AtomNotAuthorizedException.java index ad751eb..8cd2e00 100644 --- a/src/main/java/org/rometools/propono/atom/server/AtomNotAuthorizedException.java +++ b/src/main/java/com/rometools/propono/atom/server/AtomNotAuthorizedException.java @@ -17,7 +17,7 @@ * copyright in this work, please see the NOTICE file in the top level * directory of this distribution. */ -package org.rometools.propono.atom.server; +package com.rometools.propono.atom.server; import javax.servlet.http.HttpServletResponse; diff --git a/src/main/java/org/rometools/propono/atom/server/AtomNotFoundException.java b/src/main/java/com/rometools/propono/atom/server/AtomNotFoundException.java similarity index 97% rename from src/main/java/org/rometools/propono/atom/server/AtomNotFoundException.java rename to src/main/java/com/rometools/propono/atom/server/AtomNotFoundException.java index dabfa5f..4655656 100644 --- a/src/main/java/org/rometools/propono/atom/server/AtomNotFoundException.java +++ b/src/main/java/com/rometools/propono/atom/server/AtomNotFoundException.java @@ -17,7 +17,7 @@ * copyright in this work, please see the NOTICE file in the top level * directory of this distribution. */ -package org.rometools.propono.atom.server; +package com.rometools.propono.atom.server; import javax.servlet.http.HttpServletResponse; diff --git a/src/main/java/org/rometools/propono/atom/server/AtomRequest.java b/src/main/java/com/rometools/propono/atom/server/AtomRequest.java similarity index 98% rename from src/main/java/org/rometools/propono/atom/server/AtomRequest.java rename to src/main/java/com/rometools/propono/atom/server/AtomRequest.java index a6c4d73..cb8d1a2 100644 --- a/src/main/java/org/rometools/propono/atom/server/AtomRequest.java +++ b/src/main/java/com/rometools/propono/atom/server/AtomRequest.java @@ -17,7 +17,7 @@ * copyright in this work, please see the NOTICE file in the top level * directory of this distribution. */ -package org.rometools.propono.atom.server; +package com.rometools.propono.atom.server; import java.io.IOException; import java.io.InputStream; diff --git a/src/main/java/org/rometools/propono/atom/server/AtomRequestImpl.java b/src/main/java/com/rometools/propono/atom/server/AtomRequestImpl.java similarity index 98% rename from src/main/java/org/rometools/propono/atom/server/AtomRequestImpl.java rename to src/main/java/com/rometools/propono/atom/server/AtomRequestImpl.java index b4cce9f..3de3fc9 100644 --- a/src/main/java/org/rometools/propono/atom/server/AtomRequestImpl.java +++ b/src/main/java/com/rometools/propono/atom/server/AtomRequestImpl.java @@ -17,7 +17,7 @@ * copyright in this work, please see the NOTICE file in the top level * directory of this distribution. */ -package org.rometools.propono.atom.server; +package com.rometools.propono.atom.server; import java.io.IOException; import java.io.InputStream; diff --git a/src/main/java/org/rometools/propono/atom/server/AtomServlet.java b/src/main/java/com/rometools/propono/atom/server/AtomServlet.java similarity index 98% rename from src/main/java/org/rometools/propono/atom/server/AtomServlet.java rename to src/main/java/com/rometools/propono/atom/server/AtomServlet.java index f64b56d..50b6282 100644 --- a/src/main/java/org/rometools/propono/atom/server/AtomServlet.java +++ b/src/main/java/com/rometools/propono/atom/server/AtomServlet.java @@ -17,7 +17,7 @@ * copyright in this work, please see the NOTICE file in the top level * directory of this distribution. */ -package org.rometools.propono.atom.server; +package com.rometools.propono.atom.server; import java.io.BufferedReader; import java.io.IOException; @@ -35,9 +35,9 @@ import javax.servlet.http.HttpServletResponse; import org.jdom2.Document; import org.jdom2.output.Format; import org.jdom2.output.XMLOutputter; -import org.rometools.propono.atom.common.AtomService; -import org.rometools.propono.atom.common.Categories; -import org.rometools.propono.utils.Utilities; +import com.rometools.propono.atom.common.AtomService; +import com.rometools.propono.atom.common.Categories; +import com.rometools.propono.utils.Utilities; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/src/main/java/org/rometools/propono/atom/server/ConfigurationError.java b/src/main/java/com/rometools/propono/atom/server/ConfigurationError.java similarity index 86% rename from src/main/java/org/rometools/propono/atom/server/ConfigurationError.java rename to src/main/java/com/rometools/propono/atom/server/ConfigurationError.java index 7f6eb75..1aca365 100644 --- a/src/main/java/org/rometools/propono/atom/server/ConfigurationError.java +++ b/src/main/java/com/rometools/propono/atom/server/ConfigurationError.java @@ -1,4 +1,4 @@ -package org.rometools.propono.atom.server; +package com.rometools.propono.atom.server; class ConfigurationError extends Error { diff --git a/src/main/java/org/rometools/propono/atom/server/FactoryConfigurationError.java b/src/main/java/com/rometools/propono/atom/server/FactoryConfigurationError.java similarity index 98% rename from src/main/java/org/rometools/propono/atom/server/FactoryConfigurationError.java rename to src/main/java/com/rometools/propono/atom/server/FactoryConfigurationError.java index d603c07..01acb69 100644 --- a/src/main/java/org/rometools/propono/atom/server/FactoryConfigurationError.java +++ b/src/main/java/com/rometools/propono/atom/server/FactoryConfigurationError.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.rometools.propono.atom.server; +package com.rometools.propono.atom.server; /** * Thrown when a problem with configuration with the diff --git a/src/main/java/org/rometools/propono/atom/server/FactoryFinder.java b/src/main/java/com/rometools/propono/atom/server/FactoryFinder.java similarity index 99% rename from src/main/java/org/rometools/propono/atom/server/FactoryFinder.java rename to src/main/java/com/rometools/propono/atom/server/FactoryFinder.java index 920904d..b850c50 100644 --- a/src/main/java/org/rometools/propono/atom/server/FactoryFinder.java +++ b/src/main/java/com/rometools/propono/atom/server/FactoryFinder.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.rometools.propono.atom.server; +package com.rometools.propono.atom.server; import java.io.BufferedReader; import java.io.IOException; diff --git a/src/main/java/org/rometools/propono/atom/server/SecuritySupport.java b/src/main/java/com/rometools/propono/atom/server/SecuritySupport.java similarity index 98% rename from src/main/java/org/rometools/propono/atom/server/SecuritySupport.java rename to src/main/java/com/rometools/propono/atom/server/SecuritySupport.java index e182b98..5f7b2b4 100644 --- a/src/main/java/org/rometools/propono/atom/server/SecuritySupport.java +++ b/src/main/java/com/rometools/propono/atom/server/SecuritySupport.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.rometools.propono.atom.server; +package com.rometools.propono.atom.server; import java.io.File; import java.io.FileInputStream; diff --git a/src/main/java/org/rometools/propono/atom/server/impl/FileBasedAtomHandler.java b/src/main/java/com/rometools/propono/atom/server/impl/FileBasedAtomHandler.java similarity index 97% rename from src/main/java/org/rometools/propono/atom/server/impl/FileBasedAtomHandler.java rename to src/main/java/com/rometools/propono/atom/server/impl/FileBasedAtomHandler.java index a8a0bbe..a558b13 100644 --- a/src/main/java/org/rometools/propono/atom/server/impl/FileBasedAtomHandler.java +++ b/src/main/java/com/rometools/propono/atom/server/impl/FileBasedAtomHandler.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.rometools.propono.atom.server.impl; +package com.rometools.propono.atom.server.impl; import java.io.File; import java.util.StringTokenizer; @@ -22,13 +22,13 @@ import javax.servlet.http.HttpServletRequest; import org.apache.commons.codec.binary.Base64; import org.apache.commons.lang3.StringUtils; -import org.rometools.propono.atom.common.AtomService; -import org.rometools.propono.atom.common.Categories; -import org.rometools.propono.atom.server.AtomException; -import org.rometools.propono.atom.server.AtomHandler; -import org.rometools.propono.atom.server.AtomMediaResource; -import org.rometools.propono.atom.server.AtomRequest; -import org.rometools.propono.atom.server.AtomServlet; +import com.rometools.propono.atom.common.AtomService; +import com.rometools.propono.atom.common.Categories; +import com.rometools.propono.atom.server.AtomException; +import com.rometools.propono.atom.server.AtomHandler; +import com.rometools.propono.atom.server.AtomMediaResource; +import com.rometools.propono.atom.server.AtomRequest; +import com.rometools.propono.atom.server.AtomServlet; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/src/main/java/org/rometools/propono/atom/server/impl/FileBasedAtomHandlerFactory.java b/src/main/java/com/rometools/propono/atom/server/impl/FileBasedAtomHandlerFactory.java similarity index 87% rename from src/main/java/org/rometools/propono/atom/server/impl/FileBasedAtomHandlerFactory.java rename to src/main/java/com/rometools/propono/atom/server/impl/FileBasedAtomHandlerFactory.java index dfb4b34..d460371 100644 --- a/src/main/java/org/rometools/propono/atom/server/impl/FileBasedAtomHandlerFactory.java +++ b/src/main/java/com/rometools/propono/atom/server/impl/FileBasedAtomHandlerFactory.java @@ -13,13 +13,13 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.rometools.propono.atom.server.impl; +package com.rometools.propono.atom.server.impl; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; -import org.rometools.propono.atom.server.AtomHandler; -import org.rometools.propono.atom.server.AtomHandlerFactory; +import com.rometools.propono.atom.server.AtomHandler; +import com.rometools.propono.atom.server.AtomHandlerFactory; /** * Extends {@link com.sun.syndication.propono.atom.server.AtomHandlerFactory} to create and return diff --git a/src/main/java/org/rometools/propono/atom/server/impl/FileBasedAtomService.java b/src/main/java/com/rometools/propono/atom/server/impl/FileBasedAtomService.java similarity index 98% rename from src/main/java/org/rometools/propono/atom/server/impl/FileBasedAtomService.java rename to src/main/java/com/rometools/propono/atom/server/impl/FileBasedAtomService.java index 034dcac..e68ce65 100644 --- a/src/main/java/org/rometools/propono/atom/server/impl/FileBasedAtomService.java +++ b/src/main/java/com/rometools/propono/atom/server/impl/FileBasedAtomService.java @@ -13,15 +13,15 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.rometools.propono.atom.server.impl; +package com.rometools.propono.atom.server.impl; import java.io.InputStream; import java.util.Map; import java.util.Properties; import java.util.TreeMap; -import org.rometools.propono.atom.common.AtomService; -import org.rometools.propono.utils.Utilities; +import com.rometools.propono.atom.common.AtomService; +import com.rometools.propono.utils.Utilities; /** * File based Atom service. Supports one workspace per user. Collections in workspace are defined in diff --git a/src/main/java/org/rometools/propono/atom/server/impl/FileBasedCollection.java b/src/main/java/com/rometools/propono/atom/server/impl/FileBasedCollection.java similarity index 98% rename from src/main/java/org/rometools/propono/atom/server/impl/FileBasedCollection.java rename to src/main/java/com/rometools/propono/atom/server/impl/FileBasedCollection.java index f5b1155..7dc6439 100644 --- a/src/main/java/org/rometools/propono/atom/server/impl/FileBasedCollection.java +++ b/src/main/java/com/rometools/propono/atom/server/impl/FileBasedCollection.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.rometools.propono.atom.server.impl; +package com.rometools.propono.atom.server.impl; import java.io.BufferedReader; import java.io.File; @@ -37,14 +37,14 @@ import javax.activation.MimetypesFileTypeMap; import org.jdom2.Document; import org.jdom2.output.XMLOutputter; -import org.rometools.propono.atom.common.Categories; -import org.rometools.propono.atom.common.Collection; -import org.rometools.propono.atom.common.rome.AppModule; -import org.rometools.propono.atom.common.rome.AppModuleImpl; -import org.rometools.propono.atom.server.AtomException; -import org.rometools.propono.atom.server.AtomMediaResource; -import org.rometools.propono.atom.server.AtomNotFoundException; -import org.rometools.propono.utils.Utilities; +import com.rometools.propono.atom.common.Categories; +import com.rometools.propono.atom.common.Collection; +import com.rometools.propono.atom.common.rome.AppModule; +import com.rometools.propono.atom.common.rome.AppModuleImpl; +import com.rometools.propono.atom.server.AtomException; +import com.rometools.propono.atom.server.AtomMediaResource; +import com.rometools.propono.atom.server.AtomNotFoundException; +import com.rometools.propono.utils.Utilities; import com.sun.syndication.feed.WireFeed; import com.sun.syndication.feed.atom.Category; diff --git a/src/main/java/org/rometools/propono/atom/server/impl/FileBasedWorkspace.java b/src/main/java/com/rometools/propono/atom/server/impl/FileBasedWorkspace.java similarity index 89% rename from src/main/java/org/rometools/propono/atom/server/impl/FileBasedWorkspace.java rename to src/main/java/com/rometools/propono/atom/server/impl/FileBasedWorkspace.java index 2e774be..163c6cc 100644 --- a/src/main/java/org/rometools/propono/atom/server/impl/FileBasedWorkspace.java +++ b/src/main/java/com/rometools/propono/atom/server/impl/FileBasedWorkspace.java @@ -13,9 +13,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.rometools.propono.atom.server.impl; +package com.rometools.propono.atom.server.impl; -import org.rometools.propono.atom.common.Workspace; +import com.rometools.propono.atom.common.Workspace; /** * File based Atom service Workspace. diff --git a/src/main/java/org/rometools/propono/atom/server/impl/FileStore.java b/src/main/java/com/rometools/propono/atom/server/impl/FileStore.java similarity index 98% rename from src/main/java/org/rometools/propono/atom/server/impl/FileStore.java rename to src/main/java/com/rometools/propono/atom/server/impl/FileStore.java index 43112eb..035c341 100644 --- a/src/main/java/org/rometools/propono/atom/server/impl/FileStore.java +++ b/src/main/java/com/rometools/propono/atom/server/impl/FileStore.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.rometools.propono.atom.server.impl; +package com.rometools.propono.atom.server.impl; import java.io.BufferedInputStream; import java.io.BufferedOutputStream; diff --git a/src/main/java/org/rometools/propono/blogclient/BaseBlogEntry.java b/src/main/java/com/rometools/propono/blogclient/BaseBlogEntry.java similarity index 98% rename from src/main/java/org/rometools/propono/blogclient/BaseBlogEntry.java rename to src/main/java/com/rometools/propono/blogclient/BaseBlogEntry.java index c154d5b..7d5aca9 100644 --- a/src/main/java/org/rometools/propono/blogclient/BaseBlogEntry.java +++ b/src/main/java/com/rometools/propono/blogclient/BaseBlogEntry.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.rometools.propono.blogclient; +package com.rometools.propono.blogclient; import java.util.ArrayList; import java.util.Date; diff --git a/src/main/java/org/rometools/propono/blogclient/Blog.java b/src/main/java/com/rometools/propono/blogclient/Blog.java similarity index 99% rename from src/main/java/org/rometools/propono/blogclient/Blog.java rename to src/main/java/com/rometools/propono/blogclient/Blog.java index 0eab442..5369eaa 100644 --- a/src/main/java/org/rometools/propono/blogclient/Blog.java +++ b/src/main/java/com/rometools/propono/blogclient/Blog.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.rometools.propono.blogclient; +package com.rometools.propono.blogclient; import java.util.Iterator; import java.util.List; diff --git a/src/main/java/org/rometools/propono/blogclient/BlogClientException.java b/src/main/java/com/rometools/propono/blogclient/BlogClientException.java similarity index 96% rename from src/main/java/org/rometools/propono/blogclient/BlogClientException.java rename to src/main/java/com/rometools/propono/blogclient/BlogClientException.java index 8e07f9a..ac44e48 100644 --- a/src/main/java/org/rometools/propono/blogclient/BlogClientException.java +++ b/src/main/java/com/rometools/propono/blogclient/BlogClientException.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.rometools.propono.blogclient; +package com.rometools.propono.blogclient; /** * Represents a Blog Client exception, the library throws these instead of implementation specific diff --git a/src/main/java/org/rometools/propono/blogclient/BlogConnection.java b/src/main/java/com/rometools/propono/blogclient/BlogConnection.java similarity index 96% rename from src/main/java/org/rometools/propono/blogclient/BlogConnection.java rename to src/main/java/com/rometools/propono/blogclient/BlogConnection.java index d1244ac..4eb2fcc 100644 --- a/src/main/java/org/rometools/propono/blogclient/BlogConnection.java +++ b/src/main/java/com/rometools/propono/blogclient/BlogConnection.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.rometools.propono.blogclient; +package com.rometools.propono.blogclient; import java.util.List; diff --git a/src/main/java/org/rometools/propono/blogclient/BlogConnectionFactory.java b/src/main/java/com/rometools/propono/blogclient/BlogConnectionFactory.java similarity index 94% rename from src/main/java/org/rometools/propono/blogclient/BlogConnectionFactory.java rename to src/main/java/com/rometools/propono/blogclient/BlogConnectionFactory.java index 3f159ec..0494a37 100644 --- a/src/main/java/org/rometools/propono/blogclient/BlogConnectionFactory.java +++ b/src/main/java/com/rometools/propono/blogclient/BlogConnectionFactory.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.rometools.propono.blogclient; +package com.rometools.propono.blogclient; import java.lang.reflect.Constructor; @@ -27,9 +27,9 @@ public class BlogConnectionFactory { // 2) privide contructor that accepts three strings args: url, username and password. // TODO: make implementations configurable - private static String ATOMPROTOCOL_IMPL_CLASS = "org.rometools.propono.blogclient.atomprotocol.AtomConnection"; + private static String ATOMPROTOCOL_IMPL_CLASS = "com.rometools.propono.blogclient.atomprotocol.AtomConnection"; - private static String METAWEBLOG_IMPL_CLASS = "org.rometools.propono.blogclient.metaweblog.MetaWeblogConnection"; + private static String METAWEBLOG_IMPL_CLASS = "com.rometools.propono.blogclient.metaweblog.MetaWeblogConnection"; /** * Create a connection to a blog server. diff --git a/src/main/java/org/rometools/propono/blogclient/BlogEntry.java b/src/main/java/com/rometools/propono/blogclient/BlogEntry.java similarity index 99% rename from src/main/java/org/rometools/propono/blogclient/BlogEntry.java rename to src/main/java/com/rometools/propono/blogclient/BlogEntry.java index ccbb373..854e5a6 100644 --- a/src/main/java/org/rometools/propono/blogclient/BlogEntry.java +++ b/src/main/java/com/rometools/propono/blogclient/BlogEntry.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.rometools.propono.blogclient; +package com.rometools.propono.blogclient; import java.util.Date; import java.util.List; diff --git a/src/main/java/org/rometools/propono/blogclient/BlogResource.java b/src/main/java/com/rometools/propono/blogclient/BlogResource.java similarity index 97% rename from src/main/java/org/rometools/propono/blogclient/BlogResource.java rename to src/main/java/com/rometools/propono/blogclient/BlogResource.java index 5dc6893..4f5cab2 100644 --- a/src/main/java/org/rometools/propono/blogclient/BlogResource.java +++ b/src/main/java/com/rometools/propono/blogclient/BlogResource.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.rometools.propono.blogclient; +package com.rometools.propono.blogclient; import java.io.InputStream; diff --git a/src/main/java/org/rometools/propono/blogclient/atomprotocol/AtomBlog.java b/src/main/java/com/rometools/propono/blogclient/atomprotocol/AtomBlog.java similarity index 90% rename from src/main/java/org/rometools/propono/blogclient/atomprotocol/AtomBlog.java rename to src/main/java/com/rometools/propono/blogclient/atomprotocol/AtomBlog.java index 1fba978..03c3949 100644 --- a/src/main/java/org/rometools/propono/blogclient/atomprotocol/AtomBlog.java +++ b/src/main/java/com/rometools/propono/blogclient/atomprotocol/AtomBlog.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.rometools.propono.blogclient.atomprotocol; +package com.rometools.propono.blogclient.atomprotocol; import java.util.ArrayList; import java.util.Iterator; @@ -21,16 +21,16 @@ import java.util.List; import java.util.Map; import java.util.TreeMap; -import org.rometools.propono.atom.client.ClientAtomService; -import org.rometools.propono.atom.client.ClientCollection; -import org.rometools.propono.atom.client.ClientEntry; -import org.rometools.propono.atom.client.ClientMediaEntry; -import org.rometools.propono.atom.client.ClientWorkspace; -import org.rometools.propono.blogclient.Blog; -import org.rometools.propono.blogclient.BlogClientException; -import org.rometools.propono.blogclient.BlogEntry; -import org.rometools.propono.blogclient.BlogResource; -import org.rometools.propono.utils.ProponoException; +import com.rometools.propono.atom.client.ClientAtomService; +import com.rometools.propono.atom.client.ClientCollection; +import com.rometools.propono.atom.client.ClientEntry; +import com.rometools.propono.atom.client.ClientMediaEntry; +import com.rometools.propono.atom.client.ClientWorkspace; +import com.rometools.propono.blogclient.Blog; +import com.rometools.propono.blogclient.BlogClientException; +import com.rometools.propono.blogclient.BlogEntry; +import com.rometools.propono.blogclient.BlogResource; +import com.rometools.propono.utils.ProponoException; /** * Atom protocol implementation of the BlogClient Blog interface. @@ -55,8 +55,8 @@ public class AtomBlog implements Blog { setService(service); setWorkspace(workspace); name = workspace.getTitle(); - final List collect = workspace.getCollections(); - final Iterator members = collect.iterator(); + final List collect = workspace.getCollections(); + final Iterator members = collect.iterator(); while (members.hasNext()) { final ClientCollection col = (ClientCollection) members.next(); diff --git a/src/main/java/org/rometools/propono/blogclient/atomprotocol/AtomCollection.java b/src/main/java/com/rometools/propono/blogclient/atomprotocol/AtomCollection.java similarity index 89% rename from src/main/java/org/rometools/propono/blogclient/atomprotocol/AtomCollection.java rename to src/main/java/com/rometools/propono/blogclient/atomprotocol/AtomCollection.java index 1ad90bc..ef87d0a 100644 --- a/src/main/java/org/rometools/propono/blogclient/atomprotocol/AtomCollection.java +++ b/src/main/java/com/rometools/propono/blogclient/atomprotocol/AtomCollection.java @@ -13,20 +13,20 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.rometools.propono.blogclient.atomprotocol; +package com.rometools.propono.blogclient.atomprotocol; import java.util.ArrayList; import java.util.Iterator; import java.util.List; -import org.rometools.propono.atom.client.ClientAtomService; -import org.rometools.propono.atom.client.ClientCollection; -import org.rometools.propono.atom.client.ClientEntry; -import org.rometools.propono.atom.common.Categories; -import org.rometools.propono.blogclient.Blog; -import org.rometools.propono.blogclient.BlogClientException; -import org.rometools.propono.blogclient.BlogEntry; -import org.rometools.propono.blogclient.BlogResource; +import com.rometools.propono.atom.client.ClientAtomService; +import com.rometools.propono.atom.client.ClientCollection; +import com.rometools.propono.atom.client.ClientEntry; +import com.rometools.propono.atom.common.Categories; +import com.rometools.propono.blogclient.Blog; +import com.rometools.propono.blogclient.BlogClientException; +import com.rometools.propono.blogclient.BlogEntry; +import com.rometools.propono.blogclient.BlogResource; import com.sun.syndication.feed.atom.Category; diff --git a/src/main/java/org/rometools/propono/blogclient/atomprotocol/AtomConnection.java b/src/main/java/com/rometools/propono/blogclient/atomprotocol/AtomConnection.java similarity index 82% rename from src/main/java/org/rometools/propono/blogclient/atomprotocol/AtomConnection.java rename to src/main/java/com/rometools/propono/blogclient/atomprotocol/AtomConnection.java index 527aef0..db2cc78 100644 --- a/src/main/java/org/rometools/propono/blogclient/atomprotocol/AtomConnection.java +++ b/src/main/java/com/rometools/propono/blogclient/atomprotocol/AtomConnection.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.rometools.propono.blogclient.atomprotocol; +package com.rometools.propono.blogclient.atomprotocol; import java.util.ArrayList; import java.util.HashMap; @@ -21,14 +21,14 @@ import java.util.Iterator; import java.util.List; import java.util.Map; -import org.rometools.propono.atom.client.AtomClientFactory; -import org.rometools.propono.atom.client.BasicAuthStrategy; -import org.rometools.propono.atom.client.ClientAtomService; -import org.rometools.propono.atom.client.ClientWorkspace; -import org.rometools.propono.atom.common.Workspace; -import org.rometools.propono.blogclient.Blog; -import org.rometools.propono.blogclient.BlogClientException; -import org.rometools.propono.blogclient.BlogConnection; +import com.rometools.propono.atom.client.AtomClientFactory; +import com.rometools.propono.atom.client.BasicAuthStrategy; +import com.rometools.propono.atom.client.ClientAtomService; +import com.rometools.propono.atom.client.ClientWorkspace; +import com.rometools.propono.atom.common.Workspace; +import com.rometools.propono.blogclient.Blog; +import com.rometools.propono.blogclient.BlogClientException; +import com.rometools.propono.blogclient.BlogConnection; /** * Atom protocol of BlogConnection. Connects to Atom server, creates AtomBlog object for each Atom diff --git a/src/main/java/org/rometools/propono/blogclient/atomprotocol/AtomEntry.java b/src/main/java/com/rometools/propono/blogclient/atomprotocol/AtomEntry.java similarity index 94% rename from src/main/java/org/rometools/propono/blogclient/atomprotocol/AtomEntry.java rename to src/main/java/com/rometools/propono/blogclient/atomprotocol/AtomEntry.java index 5e72660..e4abddb 100644 --- a/src/main/java/org/rometools/propono/blogclient/atomprotocol/AtomEntry.java +++ b/src/main/java/com/rometools/propono/blogclient/atomprotocol/AtomEntry.java @@ -13,19 +13,19 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.rometools.propono.blogclient.atomprotocol; +package com.rometools.propono.blogclient.atomprotocol; import java.util.ArrayList; import java.util.Date; import java.util.List; -import org.rometools.propono.atom.client.ClientEntry; -import org.rometools.propono.atom.common.rome.AppModule; -import org.rometools.propono.atom.common.rome.AppModuleImpl; -import org.rometools.propono.blogclient.BaseBlogEntry; -import org.rometools.propono.blogclient.BlogClientException; -import org.rometools.propono.blogclient.BlogEntry; -import org.rometools.propono.utils.ProponoException; +import com.rometools.propono.atom.client.ClientEntry; +import com.rometools.propono.atom.common.rome.AppModule; +import com.rometools.propono.atom.common.rome.AppModuleImpl; +import com.rometools.propono.blogclient.BaseBlogEntry; +import com.rometools.propono.blogclient.BlogClientException; +import com.rometools.propono.blogclient.BlogEntry; +import com.rometools.propono.utils.ProponoException; import com.sun.syndication.feed.atom.Entry; import com.sun.syndication.feed.atom.Link; diff --git a/src/main/java/org/rometools/propono/blogclient/atomprotocol/AtomEntryIterator.java b/src/main/java/com/rometools/propono/blogclient/atomprotocol/AtomEntryIterator.java similarity index 88% rename from src/main/java/org/rometools/propono/blogclient/atomprotocol/AtomEntryIterator.java rename to src/main/java/com/rometools/propono/blogclient/atomprotocol/AtomEntryIterator.java index 506534c..a436189 100644 --- a/src/main/java/org/rometools/propono/blogclient/atomprotocol/AtomEntryIterator.java +++ b/src/main/java/com/rometools/propono/blogclient/atomprotocol/AtomEntryIterator.java @@ -13,14 +13,14 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.rometools.propono.blogclient.atomprotocol; +package com.rometools.propono.blogclient.atomprotocol; import java.util.Iterator; -import org.rometools.propono.atom.client.ClientEntry; -import org.rometools.propono.atom.client.ClientMediaEntry; -import org.rometools.propono.blogclient.BlogClientException; -import org.rometools.propono.blogclient.BlogEntry; +import com.rometools.propono.atom.client.ClientEntry; +import com.rometools.propono.atom.client.ClientMediaEntry; +import com.rometools.propono.blogclient.BlogClientException; +import com.rometools.propono.blogclient.BlogEntry; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/src/main/java/org/rometools/propono/blogclient/atomprotocol/AtomResource.java b/src/main/java/com/rometools/propono/blogclient/atomprotocol/AtomResource.java similarity index 89% rename from src/main/java/org/rometools/propono/blogclient/atomprotocol/AtomResource.java rename to src/main/java/com/rometools/propono/blogclient/atomprotocol/AtomResource.java index e245ded..9b8825b 100644 --- a/src/main/java/org/rometools/propono/blogclient/atomprotocol/AtomResource.java +++ b/src/main/java/com/rometools/propono/blogclient/atomprotocol/AtomResource.java @@ -13,18 +13,18 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.rometools.propono.blogclient.atomprotocol; +package com.rometools.propono.blogclient.atomprotocol; import java.io.InputStream; import java.util.List; -import org.rometools.propono.atom.client.ClientAtomService; -import org.rometools.propono.atom.client.ClientCollection; -import org.rometools.propono.atom.client.ClientEntry; -import org.rometools.propono.atom.client.ClientMediaEntry; -import org.rometools.propono.blogclient.BlogClientException; -import org.rometools.propono.blogclient.BlogEntry; -import org.rometools.propono.blogclient.BlogResource; +import com.rometools.propono.atom.client.ClientAtomService; +import com.rometools.propono.atom.client.ClientCollection; +import com.rometools.propono.atom.client.ClientEntry; +import com.rometools.propono.atom.client.ClientMediaEntry; +import com.rometools.propono.blogclient.BlogClientException; +import com.rometools.propono.blogclient.BlogEntry; +import com.rometools.propono.blogclient.BlogResource; import com.sun.syndication.feed.atom.Link; diff --git a/src/main/java/org/rometools/propono/blogclient/blogclient-diagram.gif b/src/main/java/com/rometools/propono/blogclient/blogclient-diagram.gif similarity index 100% rename from src/main/java/org/rometools/propono/blogclient/blogclient-diagram.gif rename to src/main/java/com/rometools/propono/blogclient/blogclient-diagram.gif diff --git a/src/main/java/org/rometools/propono/blogclient/metaweblog/MetaWeblogBlog.java b/src/main/java/com/rometools/propono/blogclient/metaweblog/MetaWeblogBlog.java similarity index 97% rename from src/main/java/org/rometools/propono/blogclient/metaweblog/MetaWeblogBlog.java rename to src/main/java/com/rometools/propono/blogclient/metaweblog/MetaWeblogBlog.java index 080b301..1f0aa51 100644 --- a/src/main/java/org/rometools/propono/blogclient/metaweblog/MetaWeblogBlog.java +++ b/src/main/java/com/rometools/propono/blogclient/metaweblog/MetaWeblogBlog.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.rometools.propono.blogclient.metaweblog; +package com.rometools.propono.blogclient.metaweblog; import java.net.URL; import java.util.ArrayList; @@ -28,11 +28,11 @@ import java.util.TreeMap; import org.apache.xmlrpc.client.XmlRpcClient; import org.apache.xmlrpc.client.XmlRpcClientConfigImpl; -import org.rometools.propono.blogclient.Blog; -import org.rometools.propono.blogclient.BlogClientException; -import org.rometools.propono.blogclient.BlogEntry; -import org.rometools.propono.blogclient.BlogEntry.Category; -import org.rometools.propono.blogclient.BlogResource; +import com.rometools.propono.blogclient.Blog; +import com.rometools.propono.blogclient.BlogClientException; +import com.rometools.propono.blogclient.BlogEntry; +import com.rometools.propono.blogclient.BlogEntry.Category; +import com.rometools.propono.blogclient.BlogResource; /** * Blog implementation that uses a mix of Blogger and MetaWeblog API methods. diff --git a/src/main/java/org/rometools/propono/blogclient/metaweblog/MetaWeblogConnection.java b/src/main/java/com/rometools/propono/blogclient/metaweblog/MetaWeblogConnection.java similarity index 93% rename from src/main/java/org/rometools/propono/blogclient/metaweblog/MetaWeblogConnection.java rename to src/main/java/com/rometools/propono/blogclient/metaweblog/MetaWeblogConnection.java index 1df6064..5ddb8d7 100644 --- a/src/main/java/org/rometools/propono/blogclient/metaweblog/MetaWeblogConnection.java +++ b/src/main/java/com/rometools/propono/blogclient/metaweblog/MetaWeblogConnection.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.rometools.propono.blogclient.metaweblog; +package com.rometools.propono.blogclient.metaweblog; import java.io.IOException; import java.net.URL; @@ -25,9 +25,9 @@ import java.util.Map; import org.apache.xmlrpc.XmlRpcException; import org.apache.xmlrpc.client.XmlRpcClient; import org.apache.xmlrpc.client.XmlRpcClientConfigImpl; -import org.rometools.propono.blogclient.Blog; -import org.rometools.propono.blogclient.BlogClientException; -import org.rometools.propono.blogclient.BlogConnection; +import com.rometools.propono.blogclient.Blog; +import com.rometools.propono.blogclient.BlogClientException; +import com.rometools.propono.blogclient.BlogConnection; /** * BlogClient implementation that uses a mix of Blogger and MetaWeblog API methods. diff --git a/src/main/java/org/rometools/propono/blogclient/metaweblog/MetaWeblogEntry.java b/src/main/java/com/rometools/propono/blogclient/metaweblog/MetaWeblogEntry.java similarity index 94% rename from src/main/java/org/rometools/propono/blogclient/metaweblog/MetaWeblogEntry.java rename to src/main/java/com/rometools/propono/blogclient/metaweblog/MetaWeblogEntry.java index 1e6752f..f558773 100644 --- a/src/main/java/org/rometools/propono/blogclient/metaweblog/MetaWeblogEntry.java +++ b/src/main/java/com/rometools/propono/blogclient/metaweblog/MetaWeblogEntry.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.rometools.propono.blogclient.metaweblog; +package com.rometools.propono.blogclient.metaweblog; import java.util.ArrayList; import java.util.Date; @@ -21,9 +21,9 @@ import java.util.HashMap; import java.util.List; import java.util.Map; -import org.rometools.propono.blogclient.BaseBlogEntry; -import org.rometools.propono.blogclient.BlogClientException; -import org.rometools.propono.blogclient.BlogEntry; +import com.rometools.propono.blogclient.BaseBlogEntry; +import com.rometools.propono.blogclient.BlogClientException; +import com.rometools.propono.blogclient.BlogEntry; /** * MetaWeblog API implementation of an entry. diff --git a/src/main/java/org/rometools/propono/blogclient/metaweblog/MetaWeblogResource.java b/src/main/java/com/rometools/propono/blogclient/metaweblog/MetaWeblogResource.java similarity index 94% rename from src/main/java/org/rometools/propono/blogclient/metaweblog/MetaWeblogResource.java rename to src/main/java/com/rometools/propono/blogclient/metaweblog/MetaWeblogResource.java index 95aaafe..2537ace 100644 --- a/src/main/java/org/rometools/propono/blogclient/metaweblog/MetaWeblogResource.java +++ b/src/main/java/com/rometools/propono/blogclient/metaweblog/MetaWeblogResource.java @@ -13,15 +13,15 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.rometools.propono.blogclient.metaweblog; +package com.rometools.propono.blogclient.metaweblog; import java.io.InputStream; import java.util.HashMap; import org.apache.commons.httpclient.HttpClient; import org.apache.commons.httpclient.methods.GetMethod; -import org.rometools.propono.blogclient.BlogClientException; -import org.rometools.propono.blogclient.BlogResource; +import com.rometools.propono.blogclient.BlogClientException; +import com.rometools.propono.blogclient.BlogResource; /** * MetaWeblog API implementation of an resource entry. diff --git a/src/main/java/org/rometools/propono/blogclient/metaweblog/NoOpIterator.java b/src/main/java/com/rometools/propono/blogclient/metaweblog/NoOpIterator.java similarity index 80% rename from src/main/java/org/rometools/propono/blogclient/metaweblog/NoOpIterator.java rename to src/main/java/com/rometools/propono/blogclient/metaweblog/NoOpIterator.java index f4dee9e..0f147eb 100644 --- a/src/main/java/org/rometools/propono/blogclient/metaweblog/NoOpIterator.java +++ b/src/main/java/com/rometools/propono/blogclient/metaweblog/NoOpIterator.java @@ -1,4 +1,4 @@ -package org.rometools.propono.blogclient.metaweblog; +package com.rometools.propono.blogclient.metaweblog; import java.util.Iterator; diff --git a/src/main/java/org/rometools/propono/utils/ProponoException.java b/src/main/java/com/rometools/propono/utils/ProponoException.java similarity index 99% rename from src/main/java/org/rometools/propono/utils/ProponoException.java rename to src/main/java/com/rometools/propono/utils/ProponoException.java index 3472972..0ba8a6f 100644 --- a/src/main/java/org/rometools/propono/utils/ProponoException.java +++ b/src/main/java/com/rometools/propono/utils/ProponoException.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.rometools.propono.utils; +package com.rometools.propono.utils; import java.io.PrintStream; import java.io.PrintWriter; diff --git a/src/main/java/org/rometools/propono/utils/Utilities.java b/src/main/java/com/rometools/propono/utils/Utilities.java similarity index 99% rename from src/main/java/org/rometools/propono/utils/Utilities.java rename to src/main/java/com/rometools/propono/utils/Utilities.java index 2484a6a..e0da06e 100644 --- a/src/main/java/org/rometools/propono/utils/Utilities.java +++ b/src/main/java/com/rometools/propono/utils/Utilities.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.rometools.propono.utils; +package com.rometools.propono.utils; import java.io.BufferedInputStream; import java.io.BufferedOutputStream; diff --git a/src/main/resources/rome.properties b/src/main/resources/rome.properties index af98acc..a3e4af9 100644 --- a/src/main/resources/rome.properties +++ b/src/main/resources/rome.properties @@ -1,7 +1,7 @@ # Configures Propono APP extension module atom_1.0.item.ModuleParser.classes=\ -org.rometools.propono.atom.common.rome.AppModuleParser +com.rometools.propono.atom.common.rome.AppModuleParser atom_1.0.item.ModuleGenerator.classes=\ -org.rometools.propono.atom.common.rome.AppModuleGenerator +com.rometools.propono.atom.common.rome.AppModuleGenerator diff --git a/src/test/java/org/rometools/propono/atom/client/AtomClientTest.java b/src/test/java/com/rometools/propono/atom/client/AtomClientTest.java similarity index 96% rename from src/test/java/org/rometools/propono/atom/client/AtomClientTest.java rename to src/test/java/com/rometools/propono/atom/client/AtomClientTest.java index 0c26f7d..f734d5a 100644 --- a/src/test/java/org/rometools/propono/atom/client/AtomClientTest.java +++ b/src/test/java/com/rometools/propono/atom/client/AtomClientTest.java @@ -13,8 +13,15 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.rometools.propono.atom.client; +package com.rometools.propono.atom.client; +import com.rometools.propono.atom.client.ClientCollection; +import com.rometools.propono.atom.client.ClientWorkspace; +import com.rometools.propono.atom.client.BasicAuthStrategy; +import com.rometools.propono.atom.client.ClientEntry; +import com.rometools.propono.atom.client.AtomClientFactory; +import com.rometools.propono.atom.client.ClientAtomService; +import com.rometools.propono.atom.client.ClientMediaEntry; import java.io.FileInputStream; import java.util.ArrayList; import java.util.List; @@ -24,9 +31,9 @@ import junit.framework.TestCase; import junit.framework.TestSuite; import org.junit.Ignore; -import org.rometools.propono.atom.common.Categories; -import org.rometools.propono.atom.common.Collection; -import org.rometools.propono.utils.ProponoException; +import com.rometools.propono.atom.common.Categories; +import com.rometools.propono.atom.common.Collection; +import com.rometools.propono.utils.ProponoException; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/src/test/java/org/rometools/propono/atom/client/BloggerDotComTest.java b/src/test/java/com/rometools/propono/atom/client/BloggerDotComTest.java similarity index 89% rename from src/test/java/org/rometools/propono/atom/client/BloggerDotComTest.java rename to src/test/java/com/rometools/propono/atom/client/BloggerDotComTest.java index 652c937..7c9e541 100644 --- a/src/test/java/org/rometools/propono/atom/client/BloggerDotComTest.java +++ b/src/test/java/com/rometools/propono/atom/client/BloggerDotComTest.java @@ -13,8 +13,13 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.rometools.propono.atom.client; +package com.rometools.propono.atom.client; +import com.rometools.propono.atom.client.ClientCollection; +import com.rometools.propono.atom.client.GDataAuthStrategy; +import com.rometools.propono.atom.client.ClientEntry; +import com.rometools.propono.atom.client.AtomClientFactory; +import com.rometools.propono.atom.client.ClientAtomService; import java.util.Iterator; import junit.framework.Test; diff --git a/src/test/java/org/rometools/propono/atom/common/AtomServiceTest.java b/src/test/java/com/rometools/propono/atom/common/AtomServiceTest.java similarity index 95% rename from src/test/java/org/rometools/propono/atom/common/AtomServiceTest.java rename to src/test/java/com/rometools/propono/atom/common/AtomServiceTest.java index 54d67db..0d45676 100644 --- a/src/test/java/org/rometools/propono/atom/common/AtomServiceTest.java +++ b/src/test/java/com/rometools/propono/atom/common/AtomServiceTest.java @@ -13,8 +13,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.rometools.propono.atom.common; +package com.rometools.propono.atom.common; +import com.rometools.propono.atom.common.Collection; +import com.rometools.propono.atom.common.Workspace; +import com.rometools.propono.atom.common.Categories; +import com.rometools.propono.atom.common.AtomService; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; diff --git a/src/test/java/org/rometools/propono/atom/common/CollectionTest.java b/src/test/java/com/rometools/propono/atom/common/CollectionTest.java similarity index 95% rename from src/test/java/org/rometools/propono/atom/common/CollectionTest.java rename to src/test/java/com/rometools/propono/atom/common/CollectionTest.java index 173c48b..b4a060d 100644 --- a/src/test/java/org/rometools/propono/atom/common/CollectionTest.java +++ b/src/test/java/com/rometools/propono/atom/common/CollectionTest.java @@ -13,8 +13,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.rometools.propono.atom.common; +package com.rometools.propono.atom.common; +import com.rometools.propono.atom.common.Collection; import java.util.ArrayList; import java.util.Collections; import java.util.List; diff --git a/src/test/java/org/rometools/propono/atom/server/AtomClientServerTest.java b/src/test/java/com/rometools/propono/atom/server/AtomClientServerTest.java similarity index 94% rename from src/test/java/org/rometools/propono/atom/server/AtomClientServerTest.java rename to src/test/java/com/rometools/propono/atom/server/AtomClientServerTest.java index fa45eed..19f0a77 100644 --- a/src/test/java/org/rometools/propono/atom/server/AtomClientServerTest.java +++ b/src/test/java/com/rometools/propono/atom/server/AtomClientServerTest.java @@ -14,7 +14,7 @@ * limitations under the License. * */ -package org.rometools.propono.atom.server; +package com.rometools.propono.atom.server; import static junit.framework.TestCase.assertEquals; import static junit.framework.TestCase.assertNotNull; @@ -31,17 +31,17 @@ import org.mortbay.http.HttpContext; import org.mortbay.http.HttpServer; import org.mortbay.http.SocketListener; import org.mortbay.jetty.servlet.ServletHandler; -import org.rometools.propono.atom.client.AtomClientFactory; -import org.rometools.propono.atom.client.BasicAuthStrategy; -import org.rometools.propono.atom.client.ClientAtomService; -import org.rometools.propono.atom.client.ClientCollection; -import org.rometools.propono.atom.client.ClientEntry; -import org.rometools.propono.atom.client.ClientMediaEntry; -import org.rometools.propono.atom.client.ClientWorkspace; -import org.rometools.propono.atom.common.Categories; -import org.rometools.propono.atom.common.Collection; -import org.rometools.propono.atom.common.Workspace; -import org.rometools.propono.utils.ProponoException; +import com.rometools.propono.atom.client.AtomClientFactory; +import com.rometools.propono.atom.client.BasicAuthStrategy; +import com.rometools.propono.atom.client.ClientAtomService; +import com.rometools.propono.atom.client.ClientCollection; +import com.rometools.propono.atom.client.ClientEntry; +import com.rometools.propono.atom.client.ClientMediaEntry; +import com.rometools.propono.atom.client.ClientWorkspace; +import com.rometools.propono.atom.common.Categories; +import com.rometools.propono.atom.common.Collection; +import com.rometools.propono.atom.common.Workspace; +import com.rometools.propono.utils.ProponoException; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -122,9 +122,9 @@ public class AtomClientServerTest { } private ServletHandler createServletHandler() { - System.setProperty("org.rometools.propono.atom.server.AtomHandlerFactory", "org.rometools.propono.atom.server.TestAtomHandlerFactory"); + System.setProperty("com.rometools.propono.atom.server.AtomHandlerFactory", "com.rometools.propono.atom.server.TestAtomHandlerFactory"); final ServletHandler servlets = new ServletHandler(); - servlets.addServlet("app", "/app/*", "org.rometools.propono.atom.server.AtomServlet"); + servlets.addServlet("app", "/app/*", "com.rometools.propono.atom.server.AtomServlet"); return servlets; } diff --git a/src/test/java/org/rometools/propono/atom/server/TestAtomHandlerFactory.java b/src/test/java/com/rometools/propono/atom/server/TestAtomHandlerFactory.java similarity index 85% rename from src/test/java/org/rometools/propono/atom/server/TestAtomHandlerFactory.java rename to src/test/java/com/rometools/propono/atom/server/TestAtomHandlerFactory.java index d3e9b10..60ea5a9 100644 --- a/src/test/java/org/rometools/propono/atom/server/TestAtomHandlerFactory.java +++ b/src/test/java/com/rometools/propono/atom/server/TestAtomHandlerFactory.java @@ -14,8 +14,10 @@ * limitations under the License. * */ -package org.rometools.propono.atom.server; +package com.rometools.propono.atom.server; +import com.rometools.propono.atom.server.AtomHandlerFactory; +import com.rometools.propono.atom.server.AtomHandler; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; diff --git a/src/test/java/org/rometools/propono/atom/server/TestAtomHandlerImpl.java b/src/test/java/com/rometools/propono/atom/server/TestAtomHandlerImpl.java similarity index 90% rename from src/test/java/org/rometools/propono/atom/server/TestAtomHandlerImpl.java rename to src/test/java/com/rometools/propono/atom/server/TestAtomHandlerImpl.java index b047a16..c1eb257 100644 --- a/src/test/java/org/rometools/propono/atom/server/TestAtomHandlerImpl.java +++ b/src/test/java/com/rometools/propono/atom/server/TestAtomHandlerImpl.java @@ -14,11 +14,11 @@ * limitations under the License. * */ -package org.rometools.propono.atom.server; +package com.rometools.propono.atom.server; import javax.servlet.http.HttpServletRequest; -import org.rometools.propono.atom.server.impl.FileBasedAtomHandler; +import com.rometools.propono.atom.server.impl.FileBasedAtomHandler; public class TestAtomHandlerImpl extends FileBasedAtomHandler { diff --git a/src/test/java/org/rometools/propono/blogclient/SimpleBlogClientTest.java b/src/test/java/com/rometools/propono/blogclient/SimpleBlogClientTest.java similarity index 94% rename from src/test/java/org/rometools/propono/blogclient/SimpleBlogClientTest.java rename to src/test/java/com/rometools/propono/blogclient/SimpleBlogClientTest.java index b63ecf3..0637cb6 100644 --- a/src/test/java/org/rometools/propono/blogclient/SimpleBlogClientTest.java +++ b/src/test/java/com/rometools/propono/blogclient/SimpleBlogClientTest.java @@ -13,8 +13,13 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.rometools.propono.blogclient; +package com.rometools.propono.blogclient; +import com.rometools.propono.blogclient.BlogEntry; +import com.rometools.propono.blogclient.BlogResource; +import com.rometools.propono.blogclient.BlogConnection; +import com.rometools.propono.blogclient.Blog; +import com.rometools.propono.blogclient.BlogConnectionFactory; import java.io.File; import java.util.Iterator; @@ -23,8 +28,8 @@ import junit.framework.TestCase; import junit.framework.TestSuite; import org.junit.Ignore; -import org.rometools.propono.blogclient.Blog.Collection; -import org.rometools.propono.utils.Utilities; +import com.rometools.propono.blogclient.Blog.Collection; +import com.rometools.propono.utils.Utilities; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/src/test/resources/simplelog.properties b/src/test/resources/simplelog.properties index 4fd23ca..0e47e22 100644 --- a/src/test/resources/simplelog.properties +++ b/src/test/resources/simplelog.properties @@ -14,6 +14,6 @@ # copyright in this work, please see the NOTICE file in the top level # directory of this distribution. -org.apache.commons.logging.simplelog.log.org.rometools.propono.atom=debug -org.apache.commons.logging.simplelog.log.org.rometools.propono.atom.server.impl.FileBasedAtomHandler=debug -org.apache.commons.logging.simplelog.log.org.rometools.propono.atom.client.AtomClientServerTest=debug +org.apache.commons.logging.simplelog.log.com.rometools.propono.atom=debug +org.apache.commons.logging.simplelog.log.com.rometools.propono.atom.server.impl.FileBasedAtomHandler=debug +org.apache.commons.logging.simplelog.log.com.rometools.propono.atom.client.AtomClientServerTest=debug