Share

Jalopy Java Source Code Formatter

Tracker: Bugs

1 Printer Java: Treat different ignored for closing brace - ID: 611182
Last Update: Settings changed ( marcohu )

I'm using the custom brace style with the folowing
settings:

Newline before left brace checked
Newline after right brace checked
Treat class and method blocks different checked

Whitespace
Before left brace 4
Before right brace 4
After right brace 0

What I would like to get is this:

class A
{
void funcA()
{
if(b)
{
// Do something
}
}
}

but I'm getting:
class A
{
void funcA()
{
if(b)
{
// Do something
}
}
}

The right brace is not treated differently.


Eric Lamontagne ( elamontagne ) - 2002-09-18 17:11

1

Closed

Fixed

Marco Hunsicker

None

None

Public


Comments ( 4 )

Date: 2002-09-23 11:21
Sender: marcohuProject Admin

Logged In: YES
user_id=44430

That bug was not related to the treat different switch but a
general problem. Should work now.


Date: 2002-09-19 13:57
Sender: elamontagne

Logged In: YES
user_id=613728

Thank for the quick fix!
I downloaded it from CVS and it works well excepts for
caselist which are treated differently and I don't think they
should.


Date: 2002-09-18 21:09
Sender: marcohuProject Admin

Logged In: YES
user_id=44430

Fixed in CVS


Date: 2002-09-18 19:25
Sender: marcohuProject Admin

Logged In: YES
user_id=44430

I'll look into it. Thanks.

<pre>
class A
{
void funcA()
{
}
}
</pre>


Attached File

No Files Currently Attached

Changes ( 6 )

Field Old Value Date By
status_id Open 2002-11-13 00:02 marcohu
close_date - 2002-11-13 00:02 marcohu
summary Treat different ignored for closing brac 2002-09-23 11:21 marcohu
resolution_id None 2002-09-18 21:09 marcohu
priority 5 2002-09-18 21:09 marcohu
assigned_to nobody 2002-09-18 19:25 marcohu