Removed an unused request attribute (originally included for testing)

This commit is contained in:
Andrew Phillips 2012-04-11 10:49:48 -04:00
parent b161fcc48e
commit e24e8cd98c
1 changed files with 0 additions and 5 deletions

View File

@ -34,8 +34,6 @@ import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.cloudfoundry.runtime.env.ApplicationInstanceInfo;
import org.cloudfoundry.runtime.env.CloudEnvironment;
import org.jclouds.blobstore.BlobStoreContext;
import org.jclouds.demo.tweetstore.domain.StoredTweetStatus;
import org.jclouds.demo.tweetstore.functions.ServiceToStoredTweetStatuses;
@ -85,9 +83,6 @@ public class AddTweetsController extends HttpServlet implements
void addMyTweetsToRequest(HttpServletRequest request) throws InterruptedException,
ExecutionException, TimeoutException {
request.setAttribute("tweets", apply(contexts.keySet()));
// TODO: remove me!
ApplicationInstanceInfo instanceInfo = new CloudEnvironment().getInstanceInfo();
request.setAttribute("instanceInfo", instanceInfo);
}
public List<StoredTweetStatus> apply(Set<String> in) {