You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by cr...@locus.apache.org on 2000/06/22 03:07:02 UTC
cvs commit: jakarta-struts/src/share/org/apache/struts/digester Digester.java
craigmcc 00/06/21 18:07:01
Modified: src/share/org/apache/struts/digester Digester.java
Log:
Clean up duplicate method names caused by overly aggressive cut-n-paste
editing (along with improving the corresponding Javadocs).
Revision Changes Path
1.3 +12 -10 jakarta-struts/src/share/org/apache/struts/digester/Digester.java
Index: Digester.java
===================================================================
RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/digester/Digester.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- Digester.java 2000/06/21 19:58:24 1.2
+++ Digester.java 2000/06/22 01:07:01 1.3
@@ -1,7 +1,7 @@
/*
- * $Header: /home/cvs/jakarta-struts/src/share/org/apache/struts/digester/Digester.java,v 1.2 2000/06/21 19:58:24 craigmcc Exp $
- * $Revision: 1.2 $
- * $Date: 2000/06/21 19:58:24 $
+ * $Header: /home/cvs/jakarta-struts/src/share/org/apache/struts/digester/Digester.java,v 1.3 2000/06/22 01:07:01 craigmcc Exp $
+ * $Revision: 1.3 $
+ * $Date: 2000/06/22 01:07:01 $
*
* ====================================================================
*
@@ -137,7 +137,7 @@
* hard code the configuration logic.
*
* @author Craig McClanahan
- * @version $Revision: 1.2 $ $Date: 2000/06/21 19:58:24 $
+ * @version $Revision: 1.3 $ $Date: 2000/06/22 01:07:01 $
*/
public final class Digester extends HandlerBase {
@@ -837,13 +837,13 @@
/**
- * Add an "call parameter" rule for the specified parameters.
+ * Add a "call parameter" rule for the specified parameters.
*
* @param pattern Element matching pattern
- * @param paramCount Zero-relative parameter index to set
+ * @param paramIndex Zero-relative parameter index to set
* (from the body of this element)
*/
- public void addCallMethod(String pattern, int paramIndex) {
+ public void addCallParam(String pattern, int paramIndex) {
addRule(pattern,
new CallParamRule(this, paramIndex));
@@ -852,13 +852,15 @@
/**
- * Add an "call parameter" rule for the specified parameters.
+ * Add a "call parameter" rule for the specified parameters.
*
* @param pattern Element matching pattern
- * @param paramCount Zero-relative parameter index to set
+ * @param paramIndex Zero-relative parameter index to set
* (from the specified attribute)
+ * @param attributeName Attribute whose value is used as the
+ * parameter value
*/
- public void addCallMethod(String pattern, int paramIndex,
+ public void addCallParam(String pattern, int paramIndex,
String attributeName) {
addRule(pattern,