User: ko5tik Date: 02/04/19 09:06:34 Modified: core/src/xdoclet XDocletTagSupport.java Log: fixed xjavadoc junit test problem forAllMethodTags behaved incorreclty for cases where no tag parameter was requested. But this stuff needs streamlining & refactoring. Really guys, it's terrible now :) Revision Changes Path 1.39 +7 -1 xdoclet/core/src/xdoclet/XDocletTagSupport.java Index: XDocletTagSupport.java =================================================================== RCS file: /cvsroot/xdoclet/xdoclet/core/src/xdoclet/XDocletTagSupport.java,v retrieving revision 1.38 retrieving revision 1.39 diff -u -w -r1.38 -r1.39 --- XDocletTagSupport.java 18 Apr 2002 19:15:19 -0000 1.38 +++ XDocletTagSupport.java 19 Apr 2002 16:06:34 -0000 1.39 @@ -39,7 +39,7 @@ * * @author Dmitri Colebatch ([EMAIL PROTECTED]) * @created October 12, 2001 - * @version $Revision: 1.38 $ + * @version $Revision: 1.39 $ */ public abstract class XDocletTagSupport extends TemplateTagHandler { @@ -408,6 +408,12 @@ if( for_type == FOR_METHOD && getCurrentMethodTag() != null && getCurrentMethodTag().name().equals( tag_name ) && Arrays.asList( getCurrentMethodTag().attributeValueNames() ).contains( param_name ) ) { return getCurrentMethodTag().attributeValue( param_name ); + } + else if( for_type == FOR_METHOD && getCurrentMethodTag() != null && getCurrentMethodTag().name().equals( tag_name ) && ( param_name == null || param_num == null ) ) + { + // somebody is just interested in tag contens. + // return whole + return getCurrentMethodTag().value(); } else if( for_type == FOR_CLASS && getCurrentClassTag() != null ) {
_______________________________________________ Xdoclet-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-devel