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:58:32 UTC
svn commit: r153212 -
jakarta/commons/proper/digester/trunk/src/java/org/apache/commons/digester/Rule.java
Author: skitching
Date: Thu Feb 10 04:58:31 2005
New Revision: 153212
URL: http://svn.apache.org/viewcvs?view=rev&rev=153212
Log:
Fix javadoc error: the body method is always called even if
there is no body text in an element.
Modified:
jakarta/commons/proper/digester/trunk/src/java/org/apache/commons/digester/Rule.java
Modified: jakarta/commons/proper/digester/trunk/src/java/org/apache/commons/digester/Rule.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/digester/trunk/src/java/org/apache/commons/digester/Rule.java?view=diff&r1=153211&r2=153212
==============================================================================
--- jakarta/commons/proper/digester/trunk/src/java/org/apache/commons/digester/Rule.java (original)
+++ jakarta/commons/proper/digester/trunk/src/java/org/apache/commons/digester/Rule.java Thu Feb 10 04:58:31 2005
@@ -1,4 +1,4 @@
-/* $Id: Rule.java,v 1.15 2004/05/10 06:30:06 skitching Exp $
+/* $Id$
*
* Copyright 2001-2004 The Apache Software Foundation.
*
@@ -157,7 +157,7 @@
/**
* 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.
+ * called with an empty string as the body text.
*
* @param text The text of the body of this element
* @deprecated Use the {@link #body(String,String,String) body} method
@@ -173,8 +173,10 @@
/**
* 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. The default implementation delegates to the deprecated method
+ * encountered. If the element has no body, this method is
+ * called with an empty string as the body text.
+ * <p>
+ * The default implementation delegates to the deprecated method
* {@link #body(String) body} without the <code>namespace</code> and
* <code>name</code> parameters, to retain backwards compatibility.
*
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org