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

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

Issue 1310263003: Reformat code to minimize churn (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 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: pkg/analysis_server/tool/spec/codegen_inttest_methods.dart
diff --git a/pkg/analysis_server/tool/spec/codegen_inttest_methods.dart b/pkg/analysis_server/tool/spec/codegen_inttest_methods.dart
index bc7bce6e60d195311e52a75d8f40a74569b040d9..38b3f20f427dde42b7d172dd573e5384a5e85ae8 100644
--- a/pkg/analysis_server/tool/spec/codegen_inttest_methods.dart
+++ b/pkg/analysis_server/tool/spec/codegen_inttest_methods.dart
@@ -160,11 +160,9 @@ class CodegenInttestMethodsVisitor extends DartCodegenVisitor
visitNotification(Notification notification) {
String streamName =
camelJoin(['on', notification.domainName, notification.event]);
- String className = camelJoin([
- notification.domainName,
- notification.event,
- 'params'
- ], doCapitalize: true);
+ String className = camelJoin(
+ [notification.domainName, notification.event, 'params'],
+ doCapitalize: true);
writeln();
docComment(toHtmlVisitor.collectHtml(() {
toHtmlVisitor.translateHtml(notification.html);
@@ -234,7 +232,8 @@ class CodegenInttestMethodsVisitor extends DartCodegenVisitor
writeln('$futureClass $methodName(${args.join(', ')}) {');
indent(() {
String requestClass = camelJoin(
- [request.domainName, request.method, 'params'], doCapitalize: true);
+ [request.domainName, request.method, 'params'],
+ doCapitalize: true);
String paramsVar = 'null';
if (request.params != null) {
paramsVar = 'params';
« no previous file with comments | « pkg/analysis_server/tool/spec/codegen_dart_protocol.dart ('k') | pkg/analysis_server/tool/spec/codegen_matchers.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698