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

Unified Diff: services/dart/test/echo/main.dart

Issue 998693004: Enable dartanalyze warnings. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Rebase to ToT Created 5 years, 9 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: services/dart/test/echo/main.dart
diff --git a/services/dart/test/echo/main.dart b/services/dart/test/echo/main.dart
index 91dd89b29b70ff42caf1d588fe79c1d66b97432a..ce13e65a0d3938cad8602c05f077c699da02c358 100644
--- a/services/dart/test/echo/main.dart
+++ b/services/dart/test/echo/main.dart
@@ -17,7 +17,7 @@ class EchoServiceImpl implements EchoService {
_stub = new EchoServiceStub.fromEndpoint(endpoint, this);
}
- echoString(String value, Function responseFactory) {
+ echoString(String value, [Function responseFactory = null]) {
if (value == "quit") {
_stub.close();
}

Powered by Google App Engine
This is Rietveld 408576698