Bug 49668 - [formatter] inserts space before constructor call closing parenthesis but not method
Summary: [formatter] inserts space before constructor call closing parenthesis but not...
Status: RESOLVED DUPLICATE of bug 49298
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 3.0 M7   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-08 01:34 EST by Tero Vuorela CLA
Modified: 2004-01-08 08:57 EST (History)
0 users

See Also:


Attachments
My code formatter settings (15.00 KB, text/plain)
2004-01-08 01:35 EST, Tero Vuorela CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tero Vuorela CLA 2004-01-08 01:34:00 EST
From the new code formatter on the WhiteSpace tab for 'method and constructor
calls' I check 'after opening and before closing parenthesis'. 

The following code 

    Example(int a, int b, int c)
    {
        super(a, b, c);
        Integer i = new Integer(a);
        oneMethod(a, b, c);
     }

is formatted like this

    Example( int a, int b, int c )
    {
        super( a, b, c );
        Integer i = new Integer( a );
        oneMethod( a, b, c); 
    }

I would have expected the method call have a whitespace before closing
parenthesis. Constructor call has it.
Comment 1 Tero Vuorela CLA 2004-01-08 01:35:50 EST
Created attachment 7359 [details]
My code formatter settings
Comment 2 Olivier Thomann CLA 2004-01-08 08:57:48 EST
Close as duplicate of bug 49298.

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