Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 331412 - [change method signature] does not respect code formatter settings when adding parameter
Summary: [change method signature] does not respect code formatter settings when addin...
Status: RESOLVED DUPLICATE of bug 331111
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.7   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-30 05:35 EST by Rüdiger Herrmann CLA
Modified: 2010-11-30 06:40 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 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 ***