Skip to content
This repository was archived by the owner on Feb 22, 2018. It is now read-only.

Commit 725dbab

Browse files
vicbtravis@travis-ci.org
authored andcommitted
style: code cleanup
1 parent 4a6234b commit 725dbab

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

lib/tools/parser_getter_setter/generator.dart

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
import 'package:angular/core/parser/parser.dart';
22
import 'package:angular/utils.dart' show isReservedWord;
3-
import 'dart:math';
43

54
class DartGetterSetterGen extends ParserBackend {
6-
final Set<String> properties = new Set<String>();
7-
final Set<String> calls = new Set<String>();
8-
final Set<String> symbols = new Set<String>();
5+
final properties = new Set<String>();
6+
final calls = new Set<String>();
7+
final symbols = new Set<String>();
98

109
bool isAssignable(expression) => true;
1110

@@ -43,7 +42,8 @@ class ParserGetterSetter {
4342
});
4443

4544
DartGetterSetterGen backend = this.backend;
46-
sink.write(generateClosureMap(backend.properties, backend.calls, backend.symbols));
45+
sink.write(generateClosureMap(backend.properties, backend.calls,
46+
backend.symbols));
4747
}
4848

4949
generateClosureMap(Set<String> properties,
@@ -68,7 +68,7 @@ StaticClosureMap closureMap = new StaticClosureMap(
6868
return '{\n${lines.join(",\n")}\n }';
6969
}
7070

71-
generateSymbolMap(Set<Strings> symbols) {
71+
generateSymbolMap(Set<String> symbols) {
7272
var lines = symbols.map((key) => ' r"${key}": #$key');
7373
return '{\n${lines.join(",\n")}\n }';
7474
}

0 commit comments

Comments
 (0)