mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-05 07:15:39 +02:00
Cosmetics.
This commit is contained in:
parent
f7e376cfc7
commit
5faa4da90e
1 changed files with 19 additions and 19 deletions
|
@ -240,7 +240,7 @@ public class DefaultMultilineCommentAutoEditStrategy implements IAutoEditStrateg
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return the AST unit for the active editor, or null if there is no active editor, or
|
* @return the AST unit for the active editor, or <code>null</code> if there is no active editor, or
|
||||||
* the AST could not be obtained.
|
* the AST could not be obtained.
|
||||||
*/
|
*/
|
||||||
public IASTTranslationUnit getAST() {
|
public IASTTranslationUnit getAST() {
|
||||||
|
@ -250,10 +250,10 @@ public class DefaultMultilineCommentAutoEditStrategy implements IAutoEditStrateg
|
||||||
IASTTranslationUnit ast= unit.getAST(null, ITranslationUnit.AST_SKIP_ALL_HEADERS);
|
IASTTranslationUnit ast= unit.getAST(null, ITranslationUnit.AST_SKIP_ALL_HEADERS);
|
||||||
return ast;
|
return ast;
|
||||||
}
|
}
|
||||||
} catch(CModelException ce) {
|
} catch (CModelException e) {
|
||||||
CUIPlugin.log(ce);
|
CUIPlugin.log(e);
|
||||||
} catch(CoreException ce) {
|
} catch (CoreException e) {
|
||||||
CUIPlugin.log(ce);
|
CUIPlugin.log(e);
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue