1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Cosmetics.

This commit is contained in:
Sergey Prigogin 2010-05-02 21:42:04 +00:00
parent e487384c29
commit e85fb0b135

View file

@ -61,7 +61,6 @@ public class AddBlockCommentTest extends BaseUITestCase {
int getOffset() throws BadLocationException {
return fDoc.getLineOffset(line - 1) + position - 1;
}
}
@Override
@ -98,10 +97,8 @@ public class AddBlockCommentTest extends BaseUITestCase {
* @param endLinePosition
* @throws Exception
*/
protected void assertFormatterResult(
LinePosition startLinePosition,
LinePosition endLinePosition) throws Exception {
protected void assertFormatterResult(LinePosition startLinePosition, LinePosition endLinePosition)
throws Exception {
StringBuffer[] contents= getContentsForTest(2);
String before = contents[0].toString();
String after = contents[1].toString();
@ -121,7 +118,6 @@ public class AddBlockCommentTest extends BaseUITestCase {
assertEquals(expected, fDocument.get());
}
/**
* Run an action to comment block defined by line positions
* and assert that the result matches the expected result.
@ -133,12 +129,8 @@ public class AddBlockCommentTest extends BaseUITestCase {
* @param after expected editor contents after the operation
* @throws Exception
*/
protected void assertFormatterResult(
LinePosition startLinePosition,
LinePosition endLinePosition,
String before,
String after) throws Exception {
protected void assertFormatterResult(LinePosition startLinePosition, LinePosition endLinePosition,
String before, String after) throws Exception {
fDocument.set(before);
SourceRange range = new SourceRange( startLinePosition.getOffset(),
@ -291,7 +283,6 @@ public class AddBlockCommentTest extends BaseUITestCase {
assertFormatterResult(startSelection, endSelection);
}
//int i;
///*comment*/
//int j;