You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by sk...@apache.org on 2005/02/10 13:56:03 UTC
svn commit: r153211 -
jakarta/commons/proper/digester/branches/digester2/src/java/org/apache/commons/digester2/AbstractAction.java
jakarta/commons/proper/digester/branches/digester2/src/java/org/apache/commons/digester2/Action.java
Author: skitching
Date: Thu Feb 10 04:56:02 2005
New Revision: 153211
URL: http://svn.apache.org/viewcvs?view=rev&rev=153211
Log:
Fix error in javadoc: the body method is always called, even if there
isn't any body text. Note that digester1 javadoc gets this wrong too.
Modified:
jakarta/commons/proper/digester/branches/digester2/src/java/org/apache/commons/digester2/AbstractAction.java
jakarta/commons/proper/digester/branches/digester2/src/java/org/apache/commons/digester2/Action.java
Modified: jakarta/commons/proper/digester/branches/digester2/src/java/org/apache/commons/digester2/AbstractAction.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/digester/branches/digester2/src/java/org/apache/commons/digester2/AbstractAction.java?view=diff&r1=153210&r2=153211
==============================================================================
--- jakarta/commons/proper/digester/branches/digester2/src/java/org/apache/commons/digester2/AbstractAction.java (original)
+++ jakarta/commons/proper/digester/branches/digester2/src/java/org/apache/commons/digester2/AbstractAction.java Thu Feb 10 04:56:02 2005
@@ -92,8 +92,8 @@
/**
* This method is called when the body of a matching XML element is
- * encountered. If the element has no body, this method is not called at
- * all.
+ * encountered. If the element has no body, this method is called with
+ * an empty string as the body text.
* <p>
* Note that if the element has multiple pieces of body text separated by
* child elements (ie is "mixed content") then all the text is merged
Modified: jakarta/commons/proper/digester/branches/digester2/src/java/org/apache/commons/digester2/Action.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/digester/branches/digester2/src/java/org/apache/commons/digester2/Action.java?view=diff&r1=153210&r2=153211
==============================================================================
--- jakarta/commons/proper/digester/branches/digester2/src/java/org/apache/commons/digester2/Action.java (original)
+++ jakarta/commons/proper/digester/branches/digester2/src/java/org/apache/commons/digester2/Action.java Thu Feb 10 04:56:02 2005
@@ -106,8 +106,8 @@
/**
* This method is called when the body of a matching XML element is
- * encountered. If the element has no body, this method is not called at
- * all.
+ * encountered. If the element has no body, this method is called with
+ * an empty string as the body text.
* <p>
* Note that if the element has multiple pieces of body text separated by
* child elements (ie is "mixed content") then all the text is merged
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org