Bug 343645

Summary: Getters and Setters are generated incorrectly when variable's first letter is low-case and second is upper-case
Product: [Eclipse Project] JDT Reporter: Ivan <ivan.outer>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: markus.kell.r
Version: 3.7   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Ivan CLA 2011-04-22 05:27:04 EDT
Build Identifier: 20100917-0705

When you have a variable with first letter low-cased and second upper-cased, you have incorrect Getter/Setter name where first letter is low-cased instead of upper-cased. However everything is OK when variable has only one letter or second letter is low-cased.
Examples (variable, actual getter, expected getter):
i, getI, getI //Correct
ia, getIa, getIa //Correct
iA, getiA, getIA //Incorrect
iAb, getiAb, getIAb //Incorrect

Reproducible: Always
Comment 1 Markus Keller CLA 2011-04-22 13:39:52 EDT

*** This bug has been marked as a duplicate of bug 322223 ***