Share

Jalopy Java Source Code Formatter

Tracker: Bugs

1 Reformat adds to many right braces - ID: 586450
Last Update: Settings changed ( marcohu )

Hi,

I'm using Jalopy 0.2.8 with Netbeans 3.3.2 on Win NT.

I've noticed a problem when I reformat the following code:

public class JalopyTest
{
Class[] myClasses = { (new String[0]).getClass() };
}

After reformat it becomes:

public class JalopyTest
{

Class[] myClasses = { (new String[0])).getClass() };
}

This code does not compile anymore, because there is
a second right brace behind String[0].


Eddy Kivits ( kivite ) - 2002-07-25 12:48

1

Closed

Fixed

Marco Hunsicker

None

None

Public


Comment ( 1 )

Date: 2002-07-31 19:54
Sender: marcohuProject Admin

Logged In: YES
user_id=44430

Apparently a bug in NewPrinter.java. Will be fixed with the
next beta.

Thanks for the report.


Attached File

No Files Currently Attached

Changes ( 5 )

Field Old Value Date By
status_id Open 2002-08-06 18:24 marcohu
resolution_id None 2002-08-06 18:24 marcohu
close_date - 2002-08-06 18:24 marcohu
assigned_to nobody 2002-07-31 19:54 marcohu
priority 5 2002-07-28 19:33 marcohu