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

Summary: inconsistant behaviour of add property
Product: java Reporter: muellermi <muellermi>
Component: BeansAssignee: Ralph Ruijs <ralphbenjamin>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 7.2   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

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