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

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

Issue 15675016: More fixes for java2dart and status files. (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 034f718f505d5b3edc2b294ba0c054722d29e64e..6821936851851111fe8ed7344882bd11795ba405 100644
--- a/pkg/analyzer_experimental/lib/src/generated/instrumentation.dart
+++ b/pkg/analyzer_experimental/lib/src/generated/instrumentation.dart
@@ -257,6 +257,7 @@ class InstrumentationLevel implements Comparable<InstrumentationLevel> {
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