Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 331412

Summary: [change method signature] does not respect code formatter settings when adding parameter
Product: [Eclipse Project] JDT Reporter: RĂ¼diger Herrmann <ruediger.herrmann>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: amj87.iitr
Version: 3.7   
Target Milestone: ---   
Hardware: PC   
OS: All   
Whiteboard:

Description RĂ¼diger Herrmann CLA 2010-11-30 05:35:28 EST
Steps to reproduce:
* create a method with no arguments like so:
  void foo()
* use the Change Method Signature refactoring to add an argument
* the resulting method is:
  void foo(Object arg)
-> the refactoring does not insert white space characters after opening and before  closing parenthesis. Expected outcome would be: void foo( Object arg )
The formatter settings are set to have white space after opening parenthesis and before closing parenthesis.

Not sure if this is already covered or related to bug 331111.
Comment 1 Ayushman Jain CLA 2010-11-30 06:40:55 EST
Added this case to bug 331111.

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