If I have an if block w/o braces, and at the end of the if
line is a single line comment, the conversion of the code
is a bit messed up when the option to use Sun-style
braces is set (default).
Test Case:
public class Test {
public static void main(String args[]) {
if (true) // blah blah
System.out.println("Blah");
else
System.out.println("Blah Blah");
}
}
Current results
public class Test {
public static void main(String[] args) {
if (true) // blah blah
{
System.out.println("Blah");
} else
{
System.out.println("Blah Blah");
}
}
}
Desired results
public class Test {
public static void main(String[] args) {
if (true) { // blah blah
System.out.println("Blah");
} else {
System.out.println("Blah Blah");
}
}
}
Logged In: YES
user_id=44430
Should be fixed with the next beta.
Thanks.