Bug 81085 - [5.0] Format misbehaviour for extract interface on methods with ?-wildcard
Summary: [5.0] Format misbehaviour for extract interface on methods with ?-wildcard
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.1 M5   Edit
Assignee: Tobias Widmer CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 81074 (view as bug list)
Depends on: 78698
Blocks:
  Show dependency tree
 
Reported: 2004-12-15 05:48 EST by Erol Koç CLA
Modified: 2005-01-05 11:35 EST (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 Erol Koç CLA 2004-12-15 05:48:23 EST
Using I200412142000

On the following class:
public class GenericClass<T> {
	public void foo(List<?> list) {
	}
	
	public void bar(List<Integer> list) {
		
	}
}

Extract interface leads to the following result:
public interface IGenClass<T> {
	public abstract void foo(List< ? > list);

	public abstract void bar(List<Integer> list);
}

Where spaces appear before and after the ?-wildcard.
Comment 1 Tobias Widmer CLA 2004-12-15 08:53:52 EST

*** This bug has been marked as a duplicate of 81084 ***
Comment 2 Markus Keller CLA 2005-01-03 07:04:08 EST
Wrong duplicate.
Comment 3 Markus Keller CLA 2005-01-03 07:06:47 EST
Is most probably due to strange formatter defaults (see bug 78698). Please
recheck after bug 78698 has been fixed.
Comment 4 Tobias Widmer CLA 2005-01-03 07:08:29 EST
*** Bug 81074 has been marked as a duplicate of this bug. ***
Comment 5 Tobias Widmer CLA 2005-01-05 11:35:32 EST
Verified