mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-06 15:55:47 +02:00
Cosmetics.
This commit is contained in:
parent
e9e53fb9fa
commit
2f38016b98
4 changed files with 6 additions and 6 deletions
|
@ -124,8 +124,8 @@ public class NodeCommentMapTest extends TestCase {
|
|||
assertEquals(com3, map.getFreestandingCommentsForNode(node1).get(1));
|
||||
}
|
||||
|
||||
//=== InternalComment class for testing
|
||||
private class Comment extends ASTNode implements IASTComment {
|
||||
//=== Internal Comment class for testing
|
||||
private static class Comment extends ASTNode implements IASTComment {
|
||||
private char[] comment;
|
||||
|
||||
@Override
|
||||
|
|
|
@ -19,7 +19,7 @@ import org.eclipse.cdt.core.dom.ast.INodeFactory;
|
|||
public abstract class NodeFactory implements INodeFactory {
|
||||
@Override
|
||||
public final void setOffsets(IASTNode node, int offset, int endOffset) {
|
||||
((ASTNode) node).setOffsetAndLength(offset, endOffset-offset);
|
||||
((ASTNode) node).setOffsetAndLength(offset, endOffset - offset);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Add table
Reference in a new issue