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

Unified Diff: samples/dartcombat/grids.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/chat/chat_server_lib.dart ('k') | samples/dartcombat/setup.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/dartcombat/grids.dart
diff --git a/samples/dartcombat/grids.dart b/samples/dartcombat/grids.dart
index b9f1768eed5579104387171aa6a49e45ae330e73..bf482a3afc19d787b65df84fa1ba60d8293849f3 100644
--- a/samples/dartcombat/grids.dart
+++ b/samples/dartcombat/grids.dart
@@ -12,7 +12,7 @@ class Boat {
Boat(this.startX, this.startY, this.horizontal, this.length) {}
- bool get sunk() => length == hitCount;
+ bool get sunk => length == hitCount;
}
/** Represents a grid configuration. */
« no previous file with comments | « samples/chat/chat_server_lib.dart ('k') | samples/dartcombat/setup.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698