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

Unified Diff: editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/internal/model/testsource/GettersSettersTest.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
Index: editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/internal/model/testsource/GettersSettersTest.dart
diff --git a/editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/internal/model/testsource/GettersSettersTest.dart b/editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/internal/model/testsource/GettersSettersTest.dart
index 8b8a3fc120a128ab3d1bbc6c8b37f92eb2e4c49c..7f7acfeaa4cb833af38063b7fe7da25728ffb500 100644
--- a/editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/internal/model/testsource/GettersSettersTest.dart
+++ b/editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/internal/model/testsource/GettersSettersTest.dart
@@ -64,7 +64,7 @@ class A {
int x_;
static int foo;
- static get bar() {
+ static get bar {
return foo;
}
@@ -74,7 +74,7 @@ class A {
A() {}
- int get x() {
+ int get x {
return x_;
}
@@ -110,7 +110,7 @@ class C extends A {
this.x_ = 0;
}
- int get x() {
+ int get x {
return y_;
}
@@ -149,7 +149,7 @@ class D extends A {
class OverrideField extends A {
OverrideField() : super() {}
- int get x_() {
+ int get x_ {
return 27;
}
}
« no previous file with comments | « no previous file | editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/internal/model/testsource/NamingTest.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698