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

Unified Diff: compiler/java/com/google/dart/compiler/DeltaAnalyzer.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: compiler/java/com/google/dart/compiler/DeltaAnalyzer.java
diff --git a/compiler/java/com/google/dart/compiler/DeltaAnalyzer.java b/compiler/java/com/google/dart/compiler/DeltaAnalyzer.java
index c8847fa691455e989c156275db0d123e2c7f3dc2..6bd802c351dd79406988a2499942f3b9926b36ff 100644
--- a/compiler/java/com/google/dart/compiler/DeltaAnalyzer.java
+++ b/compiler/java/com/google/dart/compiler/DeltaAnalyzer.java
@@ -198,18 +198,8 @@ class DeltaAnalyzer {
}
@Override
- public void compilationError(DartCompilationError event) {
- listener.compilationError(event);
- }
-
- @Override
- public void compilationWarning(DartCompilationError event) {
- listener.compilationWarning(event);
- }
-
- @Override
- public void typeError(DartCompilationError event) {
- listener.typeError(event);
+ public void onError(DartCompilationError event) {
+ listener.onError(event);
}
@Override

Powered by Google App Engine
This is Rietveld 408576698