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. |