Bug 5199 - extract method: incorrectly allowed
Summary: extract method: incorrectly allowed
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Dirk Baeumer CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-10-24 07:09 EDT by Adam Kiezun CLA
Modified: 2001-11-09 05:30 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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