Skip to content
This repository has been archived by the owner on Sep 27, 2021. It is now read-only.

Commit

Permalink
Strong mode: add generic type to _createSet
Browse files Browse the repository at this point in the history
  • Loading branch information
cbracken committed Aug 18, 2016
1 parent 4a0e965 commit 3974727
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/registry.dart
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ class RegistryManager {
new Registry.fromPort(_commandPort.sendPort, timeout: _timeout);

// Used as argument to putIfAbsent.
static Set _createSet() => new HashSet();
static Set<int> _createSet() => new HashSet<int>();

void _handleCommand(List command) {
switch (command[0]) {
Expand Down

0 comments on commit 3974727

Please sign in to comment.