Bug 404856 - [move method] Move-refactoring looses comments
Summary: [move method] Move-refactoring looses comments
Status: CLOSED DUPLICATE of bug 150558
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.2.2   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-03 17:53 EDT by Jongwook Kim CLA
Modified: 2013-04-04 04:27 EDT (History)
1 user (show)

See Also:


Attachments

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