At 10:03 AM 5/18/00 +1000, you wrote:
>Hi,
>
>In case this has not already been discussed (if this has already been
>discussed I certainly don't want to start the discussion again.)
>
>In the get/set pair template:
>
>- I think it would make sense to generate the new variable as private.
>
>- For boolean variables an isXXX() method could be generated as well
>(I'm not sure if this is according or against java policies)
>
>- an additional template for a "const" get/set would be helpful to avoid
common
>java mistakes, i.e.:
>
> Point getCoord()
> {
>   return new Point(coord);
> }
> 
> instead of just
> 
>   return coord;
>   
>Keep up the good work,

Hi Carsten,

All excellent suggestions. I've entered them into my bug/enhancement database.

- Paul

------------------------------------------------------------
TECH SUPPORT POLICY

I respond only to requests that contain a complete problem report. The
easiest way to ensure that your report is complete is to include the output
of the JDE->Help->Submit Problem Report command in your request. 

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

JDE website: http://sunsite.auc.dk/jde/

JDE mailing list archive: 
http://www.mail-archive.com/[email protected]/maillist.html



Reply via email to