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

Unified Diff: pkg/analyzer_experimental/lib/src/generated/source.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/source.dart
diff --git a/pkg/analyzer_experimental/lib/src/generated/source.dart b/pkg/analyzer_experimental/lib/src/generated/source.dart
index 1fec2159abc280c5522444f072e942bd66575092..da272e95fdc6e4572ae5305e1790d7cc542d4968 100644
--- a/pkg/analyzer_experimental/lib/src/generated/source.dart
+++ b/pkg/analyzer_experimental/lib/src/generated/source.dart
@@ -420,6 +420,7 @@ class SourceKind implements Comparable<SourceKind> {
SourceKind(this.name, this.ordinal) {
}
int compareTo(SourceKind other) => ordinal - other.ordinal;
+ int get hashCode => ordinal;
String toString() => name;
}
/**
@@ -490,6 +491,7 @@ class UriKind implements Comparable<UriKind> {
*/
int get encoding => _encoding;
int compareTo(UriKind other) => ordinal - other.ordinal;
+ int get hashCode => ordinal;
String toString() => name;
}
/**

Powered by Google App Engine
This is Rietveld 408576698