From f1e93cb0f35598d522c5b165d455c4637c75cddf Mon Sep 17 00:00:00 2001 From: Andrew Phillips Date: Thu, 7 Jul 2011 21:50:27 -0400 Subject: [PATCH] Moved GAE-like TaskQueue from org.jclouds.demo.tweetstore.config.util to org.jclouds.demo.tweetstore.taskqueue --- .../jclouds/demo/tweetstore/config/GuiceServletConfig.java | 6 +++--- .../{config/util => taskqueue}/HttpRequestTask.java | 2 +- .../tweetstore/{config/util => taskqueue}/TaskQueue.java | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) rename demos/tweetstore/runatcloud-tweetstore/src/main/java/org/jclouds/demo/tweetstore/{config/util => taskqueue}/HttpRequestTask.java (99%) rename demos/tweetstore/runatcloud-tweetstore/src/main/java/org/jclouds/demo/tweetstore/{config/util => taskqueue}/TaskQueue.java (98%) diff --git a/demos/tweetstore/runatcloud-tweetstore/src/main/java/org/jclouds/demo/tweetstore/config/GuiceServletConfig.java b/demos/tweetstore/runatcloud-tweetstore/src/main/java/org/jclouds/demo/tweetstore/config/GuiceServletConfig.java index 3447fd210d..a7b49fca74 100644 --- a/demos/tweetstore/runatcloud-tweetstore/src/main/java/org/jclouds/demo/tweetstore/config/GuiceServletConfig.java +++ b/demos/tweetstore/runatcloud-tweetstore/src/main/java/org/jclouds/demo/tweetstore/config/GuiceServletConfig.java @@ -44,11 +44,11 @@ import javax.servlet.ServletContextEvent; import org.jclouds.blobstore.BlobStoreContext; import org.jclouds.blobstore.BlobStoreContextFactory; import org.jclouds.demo.tweetstore.config.util.CredentialsCollector; -import org.jclouds.demo.tweetstore.config.util.HttpRequestTask; -import org.jclouds.demo.tweetstore.config.util.HttpRequestTask.Factory; -import org.jclouds.demo.tweetstore.config.util.TaskQueue; import org.jclouds.demo.tweetstore.controller.AddTweetsController; import org.jclouds.demo.tweetstore.controller.StoreTweetsController; +import org.jclouds.demo.tweetstore.taskqueue.HttpRequestTask; +import org.jclouds.demo.tweetstore.taskqueue.TaskQueue; +import org.jclouds.demo.tweetstore.taskqueue.HttpRequestTask.Factory; import org.jclouds.http.HttpRequest; import twitter4j.Twitter; diff --git a/demos/tweetstore/runatcloud-tweetstore/src/main/java/org/jclouds/demo/tweetstore/config/util/HttpRequestTask.java b/demos/tweetstore/runatcloud-tweetstore/src/main/java/org/jclouds/demo/tweetstore/taskqueue/HttpRequestTask.java similarity index 99% rename from demos/tweetstore/runatcloud-tweetstore/src/main/java/org/jclouds/demo/tweetstore/config/util/HttpRequestTask.java rename to demos/tweetstore/runatcloud-tweetstore/src/main/java/org/jclouds/demo/tweetstore/taskqueue/HttpRequestTask.java index a05314d765..c3ad50f17e 100644 --- a/demos/tweetstore/runatcloud-tweetstore/src/main/java/org/jclouds/demo/tweetstore/config/util/HttpRequestTask.java +++ b/demos/tweetstore/runatcloud-tweetstore/src/main/java/org/jclouds/demo/tweetstore/taskqueue/HttpRequestTask.java @@ -16,7 +16,7 @@ * limitations under the License. * ==================================================================== */ -package org.jclouds.demo.tweetstore.config.util; +package org.jclouds.demo.tweetstore.taskqueue; import static com.google.common.base.Preconditions.checkNotNull; import static com.google.inject.name.Names.bindProperties; diff --git a/demos/tweetstore/runatcloud-tweetstore/src/main/java/org/jclouds/demo/tweetstore/config/util/TaskQueue.java b/demos/tweetstore/runatcloud-tweetstore/src/main/java/org/jclouds/demo/tweetstore/taskqueue/TaskQueue.java similarity index 98% rename from demos/tweetstore/runatcloud-tweetstore/src/main/java/org/jclouds/demo/tweetstore/config/util/TaskQueue.java rename to demos/tweetstore/runatcloud-tweetstore/src/main/java/org/jclouds/demo/tweetstore/taskqueue/TaskQueue.java index 664ed5ab0e..a31120bbae 100644 --- a/demos/tweetstore/runatcloud-tweetstore/src/main/java/org/jclouds/demo/tweetstore/config/util/TaskQueue.java +++ b/demos/tweetstore/runatcloud-tweetstore/src/main/java/org/jclouds/demo/tweetstore/taskqueue/TaskQueue.java @@ -16,7 +16,7 @@ * limitations under the License. * ==================================================================== */ -package org.jclouds.demo.tweetstore.config.util; +package org.jclouds.demo.tweetstore.taskqueue; import static com.google.common.base.Preconditions.checkArgument; import static com.google.common.base.Preconditions.checkNotNull;