Enable lints (#11891)

* enable lint prefer_final_fields

* enable lint recursive_getters

* enable lint unnecessary_overrides
This commit is contained in:
Alexandre Ardhuin
2017-09-01 22:18:51 +02:00
committed by GitHub
parent 9b5599a4a7
commit 0783ec906b
6 changed files with 12 additions and 12 deletions

View File

@@ -132,7 +132,7 @@ class FuchsiaReloadCommand extends FlutterCommand {
}
// A cache of VMService connections.
HashMap<int, VMService> _vmServiceCache = new HashMap<int, VMService>();
final HashMap<int, VMService> _vmServiceCache = new HashMap<int, VMService>();
VMService _getVMService(int port) {
if (!_vmServiceCache.containsKey(port)) {