Hi,
There was a bug.
This has been fixed in CVS.
Thanks for reporting.
Vincent.

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED]] On Behalf 
> Of Erik Hatcher
> Sent: mardi 26 f�vrier 2002 0:33
> To: [EMAIL PROTECTED]
> Subject: [Xdoclet-devel] Re: [Xdoclet-user] XDtMethod:ifHasMethod ????
> 
> 
> Now posting this over to -devel.  It seems that ifHasMethod 
> is broken.  Or is it just me?
> 
> 
> 
> ----- Original Message -----
> From: "Erik Hatcher" <[EMAIL PROTECTED]>
> 
> >   <XDtMethod:ifHasMethod name="setValue">
> >         without parameters
> >   </XDtMethod:ifHasMethod>
> >
> >   <XDtMethod:ifHasMethod name="setValue" 
> parameters="java.lang.String">
> >     with parameters
> >   </XDtMethod:ifHasMethod>
> >
> > All I get generated is "with parameters".  That is not what the 
> > documentation says about ifHasMethod:
> >
> > "Evaluate the body if current class has a method with the specified
> > name+parameters. If parameters not specified then any 
> method with the
> given
> > name and any set of parameters is considered equal to the 
> given method
> name
> > and so the test result is positive and the body is evaluated. This 
> > method does not change the current method to the one specified."
> >
> > Clearly I have a setValue method - so why doesn't the first 
> > ifHasMethod
> pick
> > it up?  Shouldn't it?
> >
> > I tried replacing the first 'ifHasMethod' with 
> 'setCurrentMethod' and 
> > it still did not get picked up.
> 
> 
> 
> _______________________________________________
> Xdoclet-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-devel
> 
> 



_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to