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

Unified Diff: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/ast/ImportDirective.java

Issue 24481002: New analyzer_experimental snapshot. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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
« no previous file with comments | « no previous file | editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/TodoCode.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/ast/ImportDirective.java
diff --git a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/ast/ImportDirective.java b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/ast/ImportDirective.java
index 4425bdd8887727df7e9ffb1159550009e17673b4..ff8c8b70dbc67a32623889aa171f4d40ecddbd0c 100644
--- a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/ast/ImportDirective.java
+++ b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/ast/ImportDirective.java
@@ -34,7 +34,7 @@ import java.util.List;
*/
public class ImportDirective extends NamespaceDirective {
- private static final class ImportDirectiveComparator implements Comparator<ImportDirective> {
+ public static final Comparator<ImportDirective> COMPARATOR = new Comparator<ImportDirective>() {
@Override
public int compare(ImportDirective import1, ImportDirective import2) {
//
@@ -128,10 +128,7 @@ public class ImportDirective extends NamespaceDirective {
}
return 0;
}
-
- }
-
- public static final Comparator<ImportDirective> COMPARATOR = new ImportDirectiveComparator();
+ };
/**
* The token representing the 'as' token, or {@code null} if the imported names are not prefixed.
« no previous file with comments | « no previous file | editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/TodoCode.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698