1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-05 07:15:39 +02:00

Cosmetics.

This commit is contained in:
Sergey Prigogin 2010-08-21 20:26:23 +00:00
parent f7e376cfc7
commit 5faa4da90e

View file

@ -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;
} }