Bug 80194 - [1.5][search] Methods with generic parameters cannot be refactored
Summary: [1.5][search] Methods with generic parameters cannot be refactored
Status: RESOLVED DUPLICATE of bug 75642
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.1 M5   Edit
Assignee: Frederic Fusier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-03 19:34 EST by Victor Toni CLA
Modified: 2005-01-17 17:53 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 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 ***