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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]