Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 316814

Summary: [plan] [refactoring] Pull-out refactoring doesn't detect or handle correctly the ITD case
Product: [Tools] AJDT Reporter: Kris De Volder <kdevolder>
Component: UIAssignee: AJDT-inbox <AJDT-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: andrew.eisenberg
Version: unspecified   
Target Milestone: 2.1.1   
Hardware: All   
OS: All   
See Also: https://bugs.eclipse.org/bugs/show_bug.cgi?id=277055
Whiteboard:
Bug Depends on:    
Bug Blocks: 277055    
Attachments:
Description Flags
Patch implementing support for pulling ITDs from one aspect to another
andrew.eisenberg: iplog+
mylyn/context/zip none

Description Kris De Volder CLA 2010-06-14 15:32:20 EDT
Build Identifier: 

When we select an ITD in an aspect as the target of a pull-out refactoring, then it does not recognize this as a special case. As a result the refactoring proceeds without any warning, but produces code that has compile errors.

Correctly handling this case would mean at the very least issuing an error message.

Better yet would be to simply move the ITD in a way that doesn't cause compile errors.

Reproducible: Always
Comment 1 Kris De Volder CLA 2010-07-26 19:42:18 EDT
Created attachment 175284 [details]
Patch implementing support for pulling ITDs from one aspect to another
Comment 2 Kris De Volder CLA 2010-07-26 19:42:22 EDT
Created attachment 175285 [details]
mylyn/context/zip
Comment 3 Andrew Eisenberg CLA 2010-07-27 13:20:01 EDT
patch applied and committed.
Comment 4 Andrew Eisenberg CLA 2010-07-27 13:20:25 EDT
fixed.