Jeff Jensen writes: > Hi Paul, > > Attached is a sample class with the trailing space on the get signature lines. > Note the sets do not have one. > > To create, I created the two instance variables, placed point at the end of the > class, clicked JDE --> Code Generation --> Wizards --> Generate Get Set. > > Using JDE 2.3.3. > > Thanks Paul... > >
Hi Jeff, I still cannot reproduce this problem. I've made some changes to the jde-gen-get-set template. My changes could have fixed the problem. Another possibility is that you have a customized version of the template in a prj.el file that has the extra space in it. Paul > > -----Original Message----- > > From: Paul Kinnucan [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, February 17, 2004 12:31 AM > > To: Jeff Jensen > > Cc: ed > > Subject: gen get/set methods leaves trailing space on gets > > > > > > Jeff Jensen writes: > > > Hi Paul, > > > > > > Generating get/set methods leaves a trailing space on the > > generated get > > > methods' signature, and not on the sets. Would you mind > > removing the > > > trailing space from the generated gets? > > > > > > This is obviously a very minor nit, but it triggers a > > Checkstyle rule, > > > requiring manually deleting that space all the time. > > > > > > > Hi Jeff, > > > > Please you send me an example of the generated code pointing out > > where the trailing space occurs. I can't reproduced it on my system. > > > > Paulpublic class TrailingSpace > { > int num = 4; > String name = "Fred"; > > > /** > * Gets the value of num > * > * @return the value of num > */ > public int getNum() > { > return this.num; > } > > /** > * Sets the value of num > * > * @param argNum Value to assign to this.num > */ > public void setNum(int argNum) > { > this.num = argNum; > } > > /** > * Gets the value of name > * > * @return the value of name > */ > public String getName() > { > return this.name; > } > > /** > * Sets the value of name > * > * @param argName Value to assign to this.name > */ > public void setName(String argName) > { > this.name = argName; > } > > }
