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.

Bug 218047 - inconsistant behaviour of add property
Summary: inconsistant behaviour of add property
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Beans (show other bugs)
Version: 7.2
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: Ralph Ruijs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-10 07:25 UTC by muellermi
Modified: 2012-09-12 02:08 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description muellermi 2012-09-10 07:25:48 UTC
Product Version = NetBeans IDE 7.2 (Build 201207171143)
Operating System = Windows XP version 5.1 running on x86
Java; VM; Vendor = 1.7.0_05
Runtime = Java HotSpot(TM) Client VM 23.1-b03


given: an attribute like
int _customerID

Using insert getter/setter or refactoring encapsulate fields will generate getCustomerId / setCustomerID, ommiting the underscrore

If no attribute is present and it shall be intrduced by add property (_customerId), NB generates code for get_customerId / set_customerID, but should be getCustomerId / setCustomerID
Comment 1 Ralph Ruijs 2012-09-11 09:32:16 UTC
changeset   : 5b3df0149fe2
author      : Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org>
date        : Tue Sep 11 11:30:21 CEST 2012
summary     : Issue #218047 - inconsistant behaviour of add property
Comment 2 Quality Engineering 2012-09-12 02:08:32 UTC
Integrated into 'main-golden', will be available in build *201209120001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/5b3df0149fe2
User: Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org>
Log: Issue #218047 - inconsistant behaviour of add property