Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2950)

Unified Diff: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/dom/AST.java

Issue 10913112: Clean ups for trailing whitespace and block style (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/dom/AST.java
diff --git a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/dom/AST.java b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/dom/AST.java
index 42a098acc0ad491ecfc7ae2a5e9da39deb07f4d5..9ec38f3bceced1ce257fec5459f31d1854f56dcc 100644
--- a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/dom/AST.java
+++ b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/dom/AST.java
@@ -138,7 +138,7 @@ public class AST {
} else if (nodeClass == DartFieldDefinition.class) {
return (N) new DartFieldDefinition(null, new ArrayList<DartField>());
} else if (nodeClass == DartForStatement.class) {
- return (N) new DartForStatement(null, null, null, null);
+ return (N) new DartForStatement(null, null, null, 0, null);
} else if (nodeClass == DartFunction.class) {
return (N) new DartFunction(new ArrayList<DartParameter>(), null, null);
} else if (nodeClass == DartFunctionExpression.class) {
@@ -216,7 +216,7 @@ public class AST {
} else if (nodeClass == DartVariableStatement.class) {
return (N) new DartVariableStatement(new ArrayList<DartVariable>(), null);
} else if (nodeClass == DartWhileStatement.class) {
- return (N) new DartWhileStatement(null, null);
+ return (N) new DartWhileStatement(null, 0, null);
}
return null;
}

Powered by Google App Engine
This is Rietveld 408576698