| Index: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/formatter/CodeFormatterVisitor.java
|
| diff --git a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/formatter/CodeFormatterVisitor.java b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/formatter/CodeFormatterVisitor.java
|
| index f528fdc0d6b7ae60f69ea43806cfde6598ff1966..319f31f64a8771a9ade4c2ce6f40e5c4910c18b8 100644
|
| --- a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/formatter/CodeFormatterVisitor.java
|
| +++ b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/formatter/CodeFormatterVisitor.java
|
| @@ -61,7 +61,7 @@ import com.google.dart.compiler.ast.DartNativeBlock;
|
| import com.google.dart.compiler.ast.DartNativeDirective;
|
| import com.google.dart.compiler.ast.DartNewExpression;
|
| import com.google.dart.compiler.ast.DartNode;
|
| -import com.google.dart.compiler.ast.DartNodeTraverser;
|
| +import com.google.dart.compiler.ast.ASTVisitor;
|
| import com.google.dart.compiler.ast.DartNullLiteral;
|
| import com.google.dart.compiler.ast.DartParameter;
|
| import com.google.dart.compiler.ast.DartParameterizedTypeNode;
|
| @@ -116,7 +116,7 @@ import java.util.List;
|
| * accept(). It isn't certain they are equivalent.
|
| */
|
| @SuppressWarnings({"deprecation", "unused"})
|
| -public class CodeFormatterVisitor extends DartNodeTraverser<DartNode> {
|
| +public class CodeFormatterVisitor extends ASTVisitor<DartNode> {
|
| static {
|
| // Remove @SuppressWarnings when finished
|
| DartCore.notYetImplemented();
|
| @@ -2390,7 +2390,7 @@ public class CodeFormatterVisitor extends DartNodeTraverser<DartNode> {
|
| }
|
|
|
| private void format(DartFieldDefinition multiFieldDeclaration,
|
| - DartNodeTraverser<DartNode> visitor, boolean isChunkStart, boolean isFirstClassBodyDeclaration) {
|
| + ASTVisitor<DartNode> visitor, boolean isChunkStart, boolean isFirstClassBodyDeclaration) {
|
|
|
| if (isFirstClassBodyDeclaration) {
|
| int newLinesBeforeFirstClassBodyDeclaration = preferences.blank_lines_before_first_class_body_declaration;
|
|
|