Bug 81085

Summary: [5.0] Format misbehaviour for extract interface on methods with ?-wildcard
Product: [Eclipse Project] JDT Reporter: Erol Koç <erol_koc_OTI>
Component: UIAssignee: Tobias Widmer <tobias_widmer>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: markus.kell.r
Version: 3.1   
Target Milestone: 3.1 M5   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on: 78698    
Bug Blocks:    

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