You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by jo...@apache.org on 2008/09/11 02:44:13 UTC
svn commit: r694080 -
/incubator/shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/rewrite/ContentRewriterRegistry.java
Author: johnh
Date: Wed Sep 10 17:44:13 2008
New Revision: 694080
URL: http://svn.apache.org/viewvc?rev=694080&view=rev
Log:
Removing getRewriters() from ContentRewriterRegistry interface. Those using CRR objects should never need it.
Modified:
incubator/shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/rewrite/ContentRewriterRegistry.java
Modified: incubator/shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/rewrite/ContentRewriterRegistry.java
URL: http://svn.apache.org/viewvc/incubator/shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/rewrite/ContentRewriterRegistry.java?rev=694080&r1=694079&r2=694080&view=diff
==============================================================================
--- incubator/shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/rewrite/ContentRewriterRegistry.java (original)
+++ incubator/shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/rewrite/ContentRewriterRegistry.java Wed Sep 10 17:44:13 2008
@@ -19,8 +19,6 @@
import com.google.inject.ImplementedBy;
-import java.util.List;
-
import org.apache.shindig.gadgets.Gadget;
import org.apache.shindig.gadgets.GadgetException;
import org.apache.shindig.gadgets.http.HttpRequest;
@@ -29,11 +27,6 @@
@ImplementedBy(BasicContentRewriterRegistry.class)
public interface ContentRewriterRegistry {
/**
- * @return An immutable list of all content rewriters
- */
- public List<ContentRewriter> getRewriters();
-
- /**
* Rewrites a {@code Gadget} object given the registered rewriters.
* @param gadget Gadget object to rewrite
* @return True if rewriting occurred