Share

JRefactory

Tracker: Bugs

7 Remove brackets produces invalid Java code - ID: 813428
Last Update: Comment added ( mikeatkinson )

when "Remove brackets around single line blocks" is
checked.

Example:

public class Test7 {
public Test7() {
if (x == 1) {
// a comment
}
}
}


produces:

public class Test7 {
public Test7() {
if (x == 1)
// a comment

}
}

Note the missing ";".


Mike Atkinson ( mikeatkinson ) - 2003-09-27 07:26

7

Closed

Fixed

Mike Atkinson

None

None

Public


Comment ( 1 )




Date: 2003-09-28 22:19
Sender: mikeatkinsonProject Admin

Logged In: YES
user_id=476481

Fixed, see also bug 810715


Log in to comment.

Attached File

No Files Currently Attached

Changes ( 3 )

Field Old Value Date By
status_id Open 2003-09-28 22:19 mikeatkinson
resolution_id None 2003-09-28 22:19 mikeatkinson
close_date - 2003-09-28 22:19 mikeatkinson