Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 318726 - Weird name for methods when using generates getter and setters on variable "ID"
Summary: Weird name for methods when using generates getter and setters on variable "ID"
Status: RESOLVED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-refactoring (show other bugs)
Version: 7.0   Edit
Hardware: PC All
: P3 minor (vote)
Target Milestone: 7.0.1   Edit
Assignee: Emanuel Graf CLA
QA Contact: Emanuel Graf CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-02 10:17 EDT by skhushalani CLA
Modified: 2010-07-06 07:23 EDT (History)
0 users

See Also:


Attachments
NameHelper patch (2.40 KB, patch)
2010-07-02 14:25 EDT, Marc-André Laperle CLA
emanuel: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description skhushalani CLA 2010-07-02 10:17:57 EDT
Build Identifier: 20100617-1415

Generate getters and setters for variable "ID" creates getD() and setD() instead of getID() and setID().

Reproducible: Always

Steps to Reproduce:
1. Create a class with a variable ID
2. Source > getters & setters
3. Check the cpp source file, there should be methods getD() & setD()
Comment 1 Marc-André Laperle CLA 2010-07-02 14:25:52 EDT
Created attachment 173323 [details]
NameHelper patch

Fix + tests.
Comment 2 Emanuel Graf CLA 2010-07-06 07:20:33 EDT
Patch applied to HEAD and 7.0 > 20100706

Thanks Marc-Andre