| Index: compiler/javatests/com/google/dart/compiler/common/LibrarySourceFileTest.java
|
| diff --git a/compiler/javatests/com/google/dart/compiler/common/LibrarySourceFileTest.java b/compiler/javatests/com/google/dart/compiler/common/LibrarySourceFileTest.java
|
| index e297ef7d765a19c62671f6f528b458a9bdd8f654..bdd89cdcf5c79489876a69b9756dd9001f8839fe 100644
|
| --- a/compiler/javatests/com/google/dart/compiler/common/LibrarySourceFileTest.java
|
| +++ b/compiler/javatests/com/google/dart/compiler/common/LibrarySourceFileTest.java
|
| @@ -10,7 +10,6 @@ import com.google.dart.compiler.DartCompilerListener;
|
| import com.google.dart.compiler.ErrorSeverity;
|
| import com.google.dart.compiler.LibrarySource;
|
| import com.google.dart.compiler.UrlLibrarySource;
|
| -import com.google.dart.compiler.ast.DartUnit;
|
| import com.google.dart.compiler.ast.LibraryNode;
|
| import com.google.dart.compiler.ast.LibraryUnit;
|
| import com.google.dart.compiler.parser.DartParser;
|
| @@ -95,7 +94,7 @@ public class LibrarySourceFileTest extends AbstractSourceFileTest {
|
| if (libUnit == null) {
|
| UrlLibrarySource lib = new UrlLibrarySource(file);
|
|
|
| - DartCompilerListener listener = new DartCompilerListener() {
|
| + DartCompilerListener listener = new DartCompilerListener.Empty() {
|
| @Override
|
| public void onError(DartCompilationError event) {
|
| // Ignore warnings when testing.
|
| @@ -105,9 +104,6 @@ public class LibrarySourceFileTest extends AbstractSourceFileTest {
|
| // Rethrow error.
|
| throw new RuntimeException(event.getMessage());
|
| }
|
| - @Override
|
| - public void unitCompiled(DartUnit unit) {
|
| - }
|
| };
|
|
|
| try {
|
|
|