mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-04 23:05:47 +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.
|
||||
*/
|
||||
public IASTTranslationUnit getAST() {
|
||||
|
@ -250,10 +250,10 @@ public class DefaultMultilineCommentAutoEditStrategy implements IAutoEditStrateg
|
|||
IASTTranslationUnit ast= unit.getAST(null, ITranslationUnit.AST_SKIP_ALL_HEADERS);
|
||||
return ast;
|
||||
}
|
||||
} catch(CModelException ce) {
|
||||
CUIPlugin.log(ce);
|
||||
} catch(CoreException ce) {
|
||||
CUIPlugin.log(ce);
|
||||
} catch (CModelException e) {
|
||||
CUIPlugin.log(e);
|
||||
} catch (CoreException e) {
|
||||
CUIPlugin.log(e);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue