Bug 35799 - code formatter: missing space after last array initializer
Summary: code formatter: missing space after last array initializer
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows XP
: P3 minor (vote)
Target Milestone: 3.0 M4   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-28 04:50 EST by Christian Oetterli CLA
Modified: 2003-10-14 07:12 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Oetterli CLA 2003-03-28 04:50:16 EST
public class Q {

  public Q() {

    // code formatter formats as expected
    String a1[] = new String[] { "s" };

    // missing space before end brace
    String a2[] = new String[] { new String("s")};
  }
}
Comment 1 Adam Kiezun CLA 2003-03-28 05:05:08 EST
code formatted lives in the java core land
Comment 2 Philipe Mulet CLA 2003-03-28 05:22:10 EST
Post 2.1
Comment 3 Philipe Mulet CLA 2003-03-28 05:22:22 EST
Defer
Comment 4 Philipe Mulet CLA 2003-06-12 06:36:07 EDT
Resurrecting for 3.0
Comment 5 Philipe Mulet CLA 2003-06-12 06:59:07 EDT
Reopening
Comment 6 Olivier Thomann CLA 2003-10-03 10:22:03 EDT
This is addressed in the new formatter.
Fixed and released in HEAD.
Regression test added.
Comment 7 David Audel CLA 2003-10-14 07:12:49 EDT
Verified.