This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
The getter and setter generation doesn't follow naming convention. Attributes like private String eMail; Should have a corresponding getter and setter like: public String geteMail(); public void seteMail(String eMail); This applies to all attributes where the second character of the attribute is a capital and the first is not. -------------------------------- I find the bug from the eclipse Bug 154823, and I test this bug exist on the netbeans also. I report this, hope this can be fixed in the 6.7 final regard ginkgo
OK, fixed -- please verify. --- http://hg.netbeans.org/jet-main/rev/0efc635d88c6
Integrated into 'main-golden', will be available in build *200905160201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/0efc635d88c6 User: Max Sauer <msauer@netbeans.org> Log: #165241: Getters Setters generation doesnt follow naming convention
this bug is NOT fixed completely. when I type "get" then use the Ctrl+space, the tip show is not correct,show "getEMail",should be "geteMail", but the generated code is correct. And then most important thing is that if you generate code from the menu [refactor] --> [encapsulate field], the dialog table "getter and setter" item display is not correct, and the code generated is not correct too. I think this should fixed also. Can you check this again? regard ginkgo
Sorry for being inconsistent. Hopefully should be OK now. --- http://hg.netbeans.org/jet-main/rev/4de0a21ef636
Integrated into 'main-golden', will be available in build *200905190201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/4de0a21ef636 User: Max Sauer <msauer@netbeans.org> Log: #165241: Getters Setters generation doesnt follow naming convention
OK, this bug is fixed completely. Thanks for the quick fix. you can close it now.