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

Unified Diff: pkg/dartdoc/mirrors/util.dart

Issue 10919146: Get rid of a lot of () for getters. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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
« no previous file with comments | « pkg/dartdoc/mirrors/dart2js_mirror.dart ('k') | pkg/dartdoc/search.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/dartdoc/mirrors/util.dart
diff --git a/pkg/dartdoc/mirrors/util.dart b/pkg/dartdoc/mirrors/util.dart
index 252f531b1097715bd197bb63787265d4b2d58450..1dec4e15c68c2877df602c9835fdee7f6e17ef1a 100644
--- a/pkg/dartdoc/mirrors/util.dart
+++ b/pkg/dartdoc/mirrors/util.dart
@@ -72,7 +72,7 @@ class ImmutableMapWrapper<K,V> extends AbstractMap<K,V> {
ImmutableMapWrapper(this._map);
- int get length() => _map.length;
+ int get length => _map.length;
V operator [](K key) {
if (key is K) {
@@ -99,7 +99,7 @@ class FilteredImmutableMap<K,V> extends ImmutableMapWrapper<K,V> {
FilteredImmutableMap(Map<K,V> map, this._filter) : super(map);
- int get length() {
+ int get length {
var count = 0;
forEach((k,v) {
count++;
@@ -135,7 +135,7 @@ class AsFilteredImmutableMap<K, Vin, Vout> extends AbstractMap<K, Vout> {
AsFilteredImmutableMap(this._map, this._filter);
- int get length() {
+ int get length {
var count = 0;
forEach((k,v) {
count++;
« no previous file with comments | « pkg/dartdoc/mirrors/dart2js_mirror.dart ('k') | pkg/dartdoc/search.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698