Index: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/dom/rewrite/ASTRewriteAnalyzer.java |
diff --git a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/dom/rewrite/ASTRewriteAnalyzer.java b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/dom/rewrite/ASTRewriteAnalyzer.java |
index 0fd770a780984857efaa3e987f3f6fac16e5e129..fcd89187c274ad9e0d561afe112a7934dcb0ecd3 100644 |
--- a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/dom/rewrite/ASTRewriteAnalyzer.java |
+++ b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/dom/rewrite/ASTRewriteAnalyzer.java |
@@ -16,7 +16,6 @@ package com.google.dart.tools.core.internal.dom.rewrite; |
import com.google.dart.compiler.ast.ASTVisitor; |
import com.google.dart.compiler.ast.DartArrayAccess; |
import com.google.dart.compiler.ast.DartArrayLiteral; |
-import com.google.dart.compiler.ast.DartAssertion; |
import com.google.dart.compiler.ast.DartBinaryExpression; |
import com.google.dart.compiler.ast.DartBlock; |
import com.google.dart.compiler.ast.DartBooleanLiteral; |
@@ -743,23 +742,6 @@ public final class ASTRewriteAnalyzer { |
} |
@Override |
- public Object visitAssertion(DartAssertion node) { |
- try { |
- beforeRequiredSpaceIndex = getScanner().getNextEndOffset( |
- node.getSourceInfo().getOffset(), |
- true); |
- if (!hasChildrenChanges(node)) { |
- return doVisitUnchangedChildren(node); |
- } |
- ensureSpaceBeforeReplace(node); |
- int offset = rewriteRequiredNode(node, PropertyDescriptorHelper.DART_ASSERTION_EXPRESSION); |
- } catch (CoreException e) { |
- handleException(e); |
- } |
- return null; |
- } |
- |
- @Override |
public Object visitBinaryExpression(DartBinaryExpression node) { |
if (!hasChildrenChanges(node)) { |
return doVisitUnchangedChildren(node); |