Enter the following in a file while right margin is set to 80, then reformat the code.
class Test {
/**
* This is a convenience method for {@code doTest(test, newObject[0]);}
*/
void doTest() {
}
}
Expected behaviour:
nothing happens
Actual behaviour:
the spaces between "," and "new" and between "new" and "Object" are removed
Things in {@code } should not be modified.
Description
Enter the following in a file while right margin is set to 80, then reformat the code.
class Test {
/**
* This is a convenience method for {@code doTest(test, newObject[0]);}
*/
void doTest() {
}
}
Expected behaviour:
nothing happens
Actual behaviour:
the spaces between "," and "new" and between "new" and "Object" are removed
Things in {@code } should not be modified.