Bug 80194

Summary: [1.5][search] Methods with generic parameters cannot be refactored
Product: [Eclipse Project] JDT Reporter: Victor Toni <victor.toni>
Component: CoreAssignee: Frederic Fusier <frederic_fusier>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 3.1   
Target Milestone: 3.1 M5   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Victor Toni CLA 2004-12-03 19:34:24 EST
All doSomething() methods with an generic parameter cannot be refactored.

--------------------------------------------
// TestGenericMethod.java
import java.util.HashMap;
import java.util.Map;

public class TestGenericMethod {
	
	void callDoSomething() {
		final Map<String, Object> map = new HashMap<String, Object>();
		doSomething(map);
		doSomething(map, true);
		doSomething(true);
	}

	void doSomething(final Map<String, Object> map) {
		//
	}

	void doSomething(final Map<String, Object> map, final boolean flag) {
		//
	}

	void doSomething(final boolean flag) {
		//
	}
}
Comment 1 Frederic Fusier CLA 2004-12-04 04:06:20 EST

*** This bug has been marked as a duplicate of 75642 ***
Comment 2 Frederic Fusier CLA 2005-01-07 03:53:30 EST
Cannot consider this bug as a duplicate, but rather than a dependent...
Comment 3 Frederic Fusier CLA 2005-01-07 12:27:01 EST
I wrongly reopened this bug thinking it could be a dependent of bug 80264.
This was wrong => so close again as duplicate of bug 75642.
Sorry, for annoying unnecessary comments and mails...


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