--- "Johnson, Erik J (Erik)" <[EMAIL PROTECTED]>
wrote:
> Oops... sorry about that... hit Ctrl-Enter and sent
> the message prematurely. DOH!
>
>
> I'm new to XDoclet and I've been looking through the
> sample project to get a feel for how to apply the
> XDoclet tags through my code. Anyway, when looking
> through the code, I noticed something that to me
> looks like a bug in the XDoclet-generated code in
> the data classes. (I apologize if this has already
> been discussed, but I'm new to the mailing list as
> well).
>
> (This is using XDoclet v.1.2b3)
> For example, test.interfaces.AddressData has the
> copy constructor:
>
> public AddressData( AddressData otherData )
> {
> setId(otherData.getId());
> this.street = street;
> this.city = city;
> setCreationDate(otherData.getCreationDate());
> }
>
> Shouldn't the generated code look something like:
> setStreet(otherData.getStreet());
> setCity(otherData.getCity());
> Otherwise, the assignment of street to itself won't
> do anything.
>
> Can anyone shed some light on the situation?
Current CVS version works correct ( like your
suggestion )
regards,
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user