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

Unified Diff: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/utilities/compiler/DartCompilerUtilities.java

Issue 8395013: DartC User Warning Framework (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Use new ErrorCode enums in single onError() method. Created 9 years, 2 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: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/utilities/compiler/DartCompilerUtilities.java
diff --git a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/utilities/compiler/DartCompilerUtilities.java b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/utilities/compiler/DartCompilerUtilities.java
index 5c9edccb024ddd0b75a975d4405471e9e2f8b45d..53eaa20bee9320bc8c31ffef0da245ca5d1c6405 100644
--- a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/utilities/compiler/DartCompilerUtilities.java
+++ b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/utilities/compiler/DartCompilerUtilities.java
@@ -76,14 +76,7 @@ public class DartCompilerUtilities {
}
@Override
- public void compilationError(DartCompilationError event) {
- if (parseErrors != null) {
- parseErrors.add(event);
- }
- }
-
- @Override
- public void compilationWarning(DartCompilationError event) {
+ public void onError(DartCompilationError event) {
if (parseErrors != null) {
parseErrors.add(event);
}
@@ -109,13 +102,6 @@ public class DartCompilerUtilities {
}
@Override
- public void typeError(DartCompilationError event) {
- if (parseErrors != null) {
- parseErrors.add(event);
- }
- }
-
- @Override
public void unitCompiled(DartUnit unit) {
}

Powered by Google App Engine
This is Rietveld 408576698