Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergey Prigogin2016-03-14 15:57:50 -0400
committerGerrit Code Review @ Eclipse.org2016-03-14 17:13:07 -0400
commit9d492879be0dd33d284cbf131cc2c1ef45f6c6b9 (patch)
tree4e87512650c706089006e9881393598e7cc5fa53 /core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/rewrite/commenthandler
parentf326794be80decb2f51f90dc4d874f8324c40141 (diff)
downloadorg.eclipse.cdt-9d492879be0dd33d284cbf131cc2c1ef45f6c6b9.tar.gz
org.eclipse.cdt-9d492879be0dd33d284cbf131cc2c1ef45f6c6b9.tar.xz
org.eclipse.cdt-9d492879be0dd33d284cbf131cc2c1ef45f6c6b9.zip
Removed deprecated methods.
Diffstat (limited to 'core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/rewrite/commenthandler')
-rw-r--r--core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/rewrite/commenthandler/ASTCommenterVisitor.java9
1 files changed, 1 insertions, 8 deletions
diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/rewrite/commenthandler/ASTCommenterVisitor.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/rewrite/commenthandler/ASTCommenterVisitor.java
index 068fc65f5d..2fdd73d7ee 100644
--- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/rewrite/commenthandler/ASTCommenterVisitor.java
+++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/rewrite/commenthandler/ASTCommenterVisitor.java
@@ -12,7 +12,6 @@
package org.eclipse.cdt.internal.core.dom.rewrite.commenthandler;
import org.eclipse.cdt.core.dom.ast.ASTVisitor;
-import org.eclipse.cdt.core.dom.ast.IASTComment;
import org.eclipse.cdt.core.dom.ast.IASTCompoundStatement;
import org.eclipse.cdt.core.dom.ast.IASTDeclSpecifier;
import org.eclipse.cdt.core.dom.ast.IASTDeclaration;
@@ -212,14 +211,8 @@ public class ASTCommenterVisitor extends ASTVisitor {
}
@Override
- public int leave(IASTProblem problem){
+ public int leave(IASTProblem problem) {
nodeCommenter.appendComments((ASTNode) problem);
return PROCESS_CONTINUE;
}
-
- @Override
- public int leave( IASTComment comment){
- nodeCommenter.appendComments((ASTNode) comment);
- return PROCESS_CONTINUE;
- }
}

Back to the top