Bug 404856

Summary: [move method] Move-refactoring looses comments
Product: [Eclipse Project] JDT Reporter: Jongwook Kim <jongwook.kim>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: daniel_megert
Version: 4.2.2   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Jongwook Kim CLA 2013-04-03 17:53:19 EDT
Suppose the following codes are given:

public class A {
	//comment1
	public void m(B b) {
		//comment2
	}
}

public class B {
}

Eclipse move-refactoring loses "//comment1" when applied to A.m(B) as shown below:

public class A {
}

public class B {
	public void m() {
		//comment2
	}
}
Comment 1 Dani Megert CLA 2013-04-04 04:27:28 EDT

*** This bug has been marked as a duplicate of bug 150558 ***