You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by jo...@apache.org on 2003/08/07 19:24:34 UTC
cvs commit: cocoon-2.1/src/blocks/xmlform/java/org/apache/cocoon/acting AbstractControllerAction.java
joerg 2003/08/07 10:24:34
Modified: src/blocks/xmlform/java/org/apache/cocoon/acting
AbstractControllerAction.java
Log:
clean up: removed unused private field and method
Revision Changes Path
1.3 +1 -24 cocoon-2.1/src/blocks/xmlform/java/org/apache/cocoon/acting/AbstractControllerAction.java
Index: AbstractControllerAction.java
===================================================================
RCS file: /home/cvs/cocoon-2.1/src/blocks/xmlform/java/org/apache/cocoon/acting/AbstractControllerAction.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- AbstractControllerAction.java 15 May 2003 10:35:14 -0000 1.2
+++ AbstractControllerAction.java 7 Aug 2003 17:24:34 -0000 1.3
@@ -82,7 +82,6 @@
extends AbstractComplementaryConfigurableAction implements ThreadSafe {
private static final String ACTION_METHOD_PREFIX = "do";
- private static final String ACTION_METHOD_PARAMETER = "method";
private HashMap methodIndex;
@@ -203,28 +202,6 @@
redirector.redirect(true, base+newpath);
return null;
}
- }
-
- /**
- * Returns the entry for a given page.
- */
- private int getActionEntry(Configuration config, String path) {
-
- Configuration[] actions = config.getChild("action-mappings").getChildren("action");
-
- int entry = -1;
-
- for (int i = 0; i<actions.length; i++)
- if ((entry<0) &&
- (actions[i].getAttribute("path", null).equals(path))) {
- entry = i;
- }
-
- if (entry<0) {
- throw new RuntimeException("Could not find entry for '"+path+"'");
- }
-
- return entry;
}
/**