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

Unified Diff: pkg/analyzer/lib/src/cancelable_future.dart

Issue 975453004: Reformat (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
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
« no previous file with comments | « pkg/analyzer/lib/src/analyzer_impl.dart ('k') | pkg/analyzer/lib/src/error_formatter.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/cancelable_future.dart
diff --git a/pkg/analyzer/lib/src/cancelable_future.dart b/pkg/analyzer/lib/src/cancelable_future.dart
index c52b94bb68c3921f961366db5e97e707ee34f4d6..c072be2a0aff2023d19ee3ae37e7de16da8f35fc 100644
--- a/pkg/analyzer/lib/src/cancelable_future.dart
+++ b/pkg/analyzer/lib/src/cancelable_future.dart
@@ -228,8 +228,7 @@ abstract class CancelableFuture<T> implements Future<T> {
* Error which is used to complete any [CancelableFuture] which has been
* successfully canceled by calling its 'cancel' method.
*/
-class FutureCanceledError {
-}
+class FutureCanceledError {}
class _CancelableCompleterFuture<T> implements CancelableFuture<T> {
final CancelableCompleter<T> _completer;
@@ -260,8 +259,7 @@ class _CancelableCompleterFuture<T> implements CancelableFuture<T> {
Future timeout(Duration timeLimit, {onTimeout()}) {
// TODO(paulberry): Implement this in such a way that a timeout cancels
// the future.
- return _completer._outerCompleter.future.timeout(
- timeLimit,
+ return _completer._outerCompleter.future.timeout(timeLimit,
onTimeout: onTimeout);
}
« no previous file with comments | « pkg/analyzer/lib/src/analyzer_impl.dart ('k') | pkg/analyzer/lib/src/error_formatter.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698