User: ara_e_w
Date: 02/03/16 13:10:11
Modified: core/src/xdoclet Tag: XJAVADOC_REFACTORING
XDocletTagSupport.java
Log:
null fix
Revision Changes Path
No revision
No revision
1.24.2.3 +6 -3 xdoclet/core/src/xdoclet/XDocletTagSupport.java
Index: XDocletTagSupport.java
===================================================================
RCS file: /cvsroot/xdoclet/xdoclet/core/src/xdoclet/XDocletTagSupport.java,v
retrieving revision 1.24.2.2
retrieving revision 1.24.2.3
diff -u -w -r1.24.2.2 -r1.24.2.3
--- XDocletTagSupport.java 16 Mar 2002 20:59:20 -0000 1.24.2.2
+++ XDocletTagSupport.java 16 Mar 2002 21:10:11 -0000 1.24.2.3
@@ -32,7 +32,7 @@
*
* @author Dmitri Colebatch ([EMAIL PROTECTED])
* @created October 12, 2001
- * @version $Revision: 1.24.2.2 $
+ * @version $Revision: 1.24.2.3 $
*/
public abstract class XDocletTagSupport extends TemplateTagHandler
{
@@ -471,10 +471,13 @@
boolean is_mandatory
) throws XDocletException
{
- String value;
+ String value = null;
+
if( param_name == null ) {
// the value of the tag is requested
- value = doc.tag( tag_name, superclasses ).value();
+ XTag tag = doc.tag( tag_name, superclasses );
+ if( tag != null )
+ value = tag.value();
} else {
// the value of a tag attribute is requested
value = doc.tagAttributeValue( tag_name, param_name,
superclasses );
_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel