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

Unified Diff: samples/leap/leap_script.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 | « samples/leap/leap_leg.dart ('k') | samples/logo/logo.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/leap/leap_script.dart
diff --git a/samples/leap/leap_script.dart b/samples/leap/leap_script.dart
index 9775363ed3005fa21b7743fcf5a61488fae94d98..3fa045f6fda365938b69b0ab90ab5881b5468554 100644
--- a/samples/leap/leap_script.dart
+++ b/samples/leap/leap_script.dart
@@ -2,7 +2,7 @@ class LeapScript {
final text;
LeapScript(this.text);
- String get name() => "SomeName";
- String get uri() => name;
- String get file() => "somefile";
+ String get name => "SomeName";
+ String get uri => name;
+ String get file => "somefile";
}
« no previous file with comments | « samples/leap/leap_leg.dart ('k') | samples/logo/logo.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698