Bug 4315

Summary: extract method: incorrect method creation (1GLAD1H)
Product: [Eclipse Project] JDT Reporter: Dirk Baeumer <dirk_baeumer>
Component: UIAssignee: Dirk Baeumer <dirk_baeumer>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 2.0   
Target Milestone: ---   
Hardware: All   
OS: Windows 2000   
Whiteboard:

Description Dirk Baeumer CLA 2001-10-10 23:09:39 EDT
AK (10/8/2001 6:22:28 PM)
	public class A {
		void f(){
			boolean d= /*[*/!true/*]*/;
		}
	}

	extract the selected fragment. the newly created method is incorrect, which causes compile errors:
	
	protected void a() {
		!true;
	}

NOTES:
Comment 1 Dirk Baeumer CLA 2001-11-09 06:34:08 EST
Fixed in build > 20011107