Project: JDT
Bug 189294 [getter setter] Getter methods not generated correctly for boolean types that starts with "is"
Reported: 2007-05-26 13:59:32 | Status: resolved fixed

Build ID: M20070212-1330 Steps To Reproduce: 1. Create a POJO with boolean fields named "isDone" and "done". Example: class Foo { private boolean done; private boolean isDone; } 2. Menu->Source generate Getter and Setter. 3. The methods for "isDone" field is created same as "done" which is incorrect. More information:

Files changed in fix:
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/core/source/GenerateGettersSettersTest.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/GetterSetterUtil.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/PreferenceConstants.java