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

Unified Diff: pkg/analysis_server/tool/spec/codegen_java_types.dart

Issue 581793002: Ensure for and if statements have a space after the statement keyword (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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
« no previous file with comments | « editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/generated/types/TypeHierarchyItem.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/tool/spec/codegen_java_types.dart
diff --git a/pkg/analysis_server/tool/spec/codegen_java_types.dart b/pkg/analysis_server/tool/spec/codegen_java_types.dart
index c0a1f32d90cdb58a3e844377b8e1f933059de0ff..b28fab31927898519bd8cc7edc8a9db5c262e874 100644
--- a/pkg/analysis_server/tool/spec/codegen_java_types.dart
+++ b/pkg/analysis_server/tool/spec/codegen_java_types.dart
@@ -632,7 +632,7 @@ class CodegenJavaType extends CodegenJavaVisitor {
TypeDecl listItemType = (field.type as TypeList).itemType;
String jsonArrayName = 'jsonArray${capitalize(name)}';
writeln('JsonArray ${jsonArrayName} = new JsonArray();');
- writeln('for(${javaType(listItemType)} elt : ${name}) {');
+ writeln('for (${javaType(listItemType)} elt : ${name}) {');
indent(() {
if (isDeclaredInSpec(listItemType)) {
writeln('${jsonArrayName}.add(elt.toJson());');
« no previous file with comments | « editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/generated/types/TypeHierarchyItem.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698