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

Unified Diff: pkg/analyzer_experimental/lib/src/generated/instrumentation.dart

Issue 18129004: Simplify constructors translation, improve code style. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 6 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: pkg/analyzer_experimental/lib/src/generated/instrumentation.dart
diff --git a/pkg/analyzer_experimental/lib/src/generated/instrumentation.dart b/pkg/analyzer_experimental/lib/src/generated/instrumentation.dart
index c27fd8855806e6b51418f8dcfe0990be34a683a0..6f1da08b9ba1ead686d04d6b703fe0e6f5cb5458 100644
--- a/pkg/analyzer_experimental/lib/src/generated/instrumentation.dart
+++ b/pkg/analyzer_experimental/lib/src/generated/instrumentation.dart
@@ -273,8 +273,7 @@ class InstrumentationLevel implements Comparable<InstrumentationLevel> {
}
throw new IllegalArgumentException("Unrecognised InstrumentationLevel");
}
- InstrumentationLevel(this.name, this.ordinal) {
- }
+ InstrumentationLevel(this.name, this.ordinal);
int compareTo(InstrumentationLevel other) => ordinal - other.ordinal;
int get hashCode => ordinal;
String toString() => name;

Powered by Google App Engine
This is Rietveld 408576698