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

Unified Diff: pkg/dartdoc/dropdown.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/dartdoc.dart ('k') | pkg/dartdoc/inline_parser.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/dartdoc/dropdown.dart
diff --git a/pkg/dartdoc/dropdown.dart b/pkg/dartdoc/dropdown.dart
index fad4a2f99a4d9ff26f1f2bc2a048ef119d91a65b..ce5f2128ebd0eed1e2a3674a12fe4c225f55ddda 100644
--- a/pkg/dartdoc/dropdown.dart
+++ b/pkg/dartdoc/dropdown.dart
@@ -264,7 +264,7 @@ void set currentResultIndex(int index) {
}
}
-int get currentResultIndex() => _currentResultIndex;
+int get currentResultIndex => _currentResultIndex;
void set currentResult(Result result) {
if (_currentResult != result) {
@@ -278,7 +278,7 @@ void set currentResult(Result result) {
}
}
-Result get currentResult() => _currentResult;
+Result get currentResult => _currentResult;
/**
* Navigate the search drop down using up/down inside the search field. Follow
« no previous file with comments | « pkg/dartdoc/dartdoc.dart ('k') | pkg/dartdoc/inline_parser.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698