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

Unified Diff: runtime/observatory/lib/src/repositories/target.dart

Issue 2345023003: Use dartfmt on Observatory code (Closed)
Patch Set: merge Created 4 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: runtime/observatory/lib/src/repositories/target.dart
diff --git a/runtime/observatory/lib/src/repositories/target.dart b/runtime/observatory/lib/src/repositories/target.dart
index bb011600039f690113782b79570a3276326593bf..cad6dc5131b2367d1456b77c493e491aea7e4651 100644
--- a/runtime/observatory/lib/src/repositories/target.dart
+++ b/runtime/observatory/lib/src/repositories/target.dart
@@ -11,7 +11,6 @@ class TargetChangeEvent implements M.TargetChangeEvent {
}
class TargetRepository implements M.TargetRepository {
-
static const _historyKey = 'history';
final StreamController<TargetChangeEvent> _onChange;
@@ -82,13 +81,13 @@ class TargetRepository implements M.TargetRepository {
}
_list.addAll(loaded.map((i) => new SC.WebSocketVMTarget.fromMap(i)));
_list.sort((SC.WebSocketVMTarget a, SC.WebSocketVMTarget b) {
- return b.lastConnectionTime.compareTo(a.lastConnectionTime);
+ return b.lastConnectionTime.compareTo(a.lastConnectionTime);
});
}
/// After making a change, update settings.
void _store() {
- _settings.set(_historyKey, _list);
+ _settings.set(_historyKey, _list);
}
/// Find by networkAddress.

Powered by Google App Engine
This is Rietveld 408576698