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

Unified Diff: lib/src/errors.dart

Issue 955053002: adding codereview file, formatting, adding gitignore (Closed) Base URL: https://github.com/dart-lang/isolate.git@master
Patch Set: Created 5 years, 10 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: lib/src/errors.dart
diff --git a/lib/src/errors.dart b/lib/src/errors.dart
index 91abe5b568bda67f1a8b464516bc5489109e9049..0be30f79230656b0c960c1bd2bde99c7b37a4793 100644
--- a/lib/src/errors.dart
+++ b/lib/src/errors.dart
@@ -47,7 +47,7 @@ class MultiError extends Error {
* [wait]).
*/
static Future<List> waitUnordered(Iterable<Future> futures,
- {cleanUp(successResult)}) {
+ {cleanUp(successResult)}) {
Lasse Reichstein Nielsen 2015/02/26 10:59:15 Indent as original.
Completer completer;
int count = 0;
int errors = 0;
@@ -106,8 +106,7 @@ class MultiError extends Error {
* [MultiError.errors] list will have errors in the corresponding slots,
* and `null` for non-errors.
*/
- Future<List> wait(Iterable<Future> futures,
- {cleanUp(successResult)}) {
+ Future<List> wait(Iterable<Future> futures, {cleanUp(successResult)}) {
Completer completer;
int count = 0;
bool hasError = false;
@@ -156,7 +155,6 @@ class MultiError extends Error {
return completer.future;
}
-
String toString() {
StringBuffer buffer = new StringBuffer();
buffer.write("Multiple Errors:\n");

Powered by Google App Engine
This is Rietveld 408576698