Commit 4e30af0 1 parent c5a436d commit 4e30af0 Copy full SHA for 4e30af0
File tree 1 file changed +2
-3
lines changed
1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ class SourceMapBuilder {
60
60
}
61
61
62
62
/// An entry in the source map builder.
63
- class Entry implements Comparable {
63
+ class Entry implements Comparable < Entry > {
64
64
/// Span denoting the original location in the input source file
65
65
final SourceLocation source;
66
66
@@ -77,8 +77,7 @@ class Entry implements Comparable {
77
77
/// location in the target file. We sort primarily by the target offset
78
78
/// because source map files are encoded by printing each mapping in order as
79
79
/// they appear in the target file.
80
- int compareTo (_other) {
81
- Entry other = _other as Entry ;
80
+ int compareTo (Entry other) {
82
81
int res = target.compareTo (other.target);
83
82
if (res != 0 ) return res;
84
83
res = source.sourceUrl.toString ().compareTo (
You can’t perform that action at this time.
0 commit comments