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

Unified Diff: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/completion/ErrorRecordingContext.java

Issue 9479013: Remove backends. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: More clean up Created 8 years, 10 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/internal/completion/ErrorRecordingContext.java
diff --git a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/completion/ErrorRecordingContext.java b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/completion/ErrorRecordingContext.java
index ab9a33da798bc2854aaeacb9ffbba9875052ffba..6fd52f9be2ee53420badd5b1e66b5a8e5cdfd4c4 100644
--- a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/completion/ErrorRecordingContext.java
+++ b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/completion/ErrorRecordingContext.java
@@ -27,7 +27,6 @@ import com.google.dart.compiler.metrics.CompilerMetrics;
import com.google.dart.tools.core.internal.model.SystemLibraryManagerProvider;
import com.google.dart.tools.core.utilities.net.URIUtilities;
-import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.Reader;
import java.io.Writer;
@@ -39,14 +38,8 @@ import java.util.List;
class ErrorRecordingContext implements DartCompilerContext {
private CompilerConfiguration configuration;
{
- try {
- configuration = new DefaultCompilerConfiguration(new CompilerOptions(),
- SystemLibraryManagerProvider.getSystemLibraryManager());
- } catch (FileNotFoundException e) {
- // Currently this exception is thrown only during isolation stub generation
- // is specified ... a situation which we do not support.
- throw new AssertionError(e);
- }
+ configuration = new DefaultCompilerConfiguration(new CompilerOptions(),
+ SystemLibraryManagerProvider.getSystemLibraryManager());
}
private List<DartCompilationError> errors = new ArrayList<DartCompilationError>();

Powered by Google App Engine
This is Rietveld 408576698