Bug 5199

Summary: extract method: incorrectly allowed
Product: [Eclipse Project] JDT Reporter: Adam Kiezun <akiezun>
Component: UIAssignee: Dirk Baeumer <dirk_baeumer>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 2.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Adam Kiezun CLA 2001-10-24 07:09:19 EDT
build 205

package p;
class A{
	private boolean m(){
		A m= new A();
		/*[*/if (m == null)
			return true;
		A d= m;/*]*/
		if (d == null)
			return true;	
		return true;
	}
}
Comment 1 Dirk Baeumer CLA 2001-11-09 05:30:34 EST
Problem is incorrect transition when merging sequential statements.

Fixed in build > 20011107