| Summary: | [encapsulate field] Encapsulate Field quickfix generate getter and setter in the wrong order | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | pihentagy+eclipse+bugzilla | ||||
| Component: | UI | Assignee: | Raksha Vasisht <raksha.vasisht> | ||||
| Status: | VERIFIED FIXED | QA Contact: | |||||
| Severity: | minor | ||||||
| Priority: | P3 | CC: | deepakazad, markus.kell.r, Olivier_Thomann | ||||
| Version: | 3.5.2 | ||||||
| Target Milestone: | 3.7 M1 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
pihentagy+eclipse+bugzilla
Move to JDT/UI The quick fix is the same as Refactor > Encapsulate Field. I agree that this should create the getter first. Raksha, could you please have a look? Remember to adjust the tests as well. (In reply to comment #2) > The quick fix is the same as Refactor > Encapsulate Field. I agree that this > should create the getter first. > > Raksha, could you please have a look? Remember to adjust the tests as well. Fixed in HEAD. (In reply to comment #3) > Fixed in HEAD. Fixed in these files : org.eclipse.jdt.internal.corext.refactoring.sef.SelfEncapsulateFieldRefactoring org.eclipse.jdt.ui.tests.quickfix.GetterSetterQuickFixTest Created attachment 172213 [details]
Test fixes
More tests fixed and released to HEAD.
Verified with I20100802-1800 on Ubuntu. |