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

Unified Diff: compiler/java/com/google/dart/compiler/DartCompiler.java

Issue 11369214: cleanup unused code (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 1 month 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: compiler/java/com/google/dart/compiler/DartCompiler.java
===================================================================
--- compiler/java/com/google/dart/compiler/DartCompiler.java (revision 14886)
+++ compiler/java/com/google/dart/compiler/DartCompiler.java (working copy)
@@ -5,7 +5,6 @@
package com.google.dart.compiler;
import com.google.common.base.Objects;
-import com.google.common.collect.Lists;
import com.google.common.collect.Maps;
import com.google.common.collect.Sets;
import com.google.common.collect.Sets.SetView;
@@ -82,54 +81,6 @@
public static final String CORELIB_URL_SPEC = "dart:core";
public static final String MAIN_ENTRY_POINT_NAME = "main";
- private static class NamedPlaceHolderLibrarySource implements LibrarySource {
- private final String name;
-
- public NamedPlaceHolderLibrarySource(String name) {
- this.name = name;
- }
-
- @Override
- public boolean exists() {
- throw new AssertionError();
- }
-
- @Override
- public long getLastModified() {
- throw new AssertionError();
- }
-
- @Override
- public String getName() {
- return name;
- }
-
- @Override
- public Reader getSourceReader() {
- throw new AssertionError();
- }
-
- @Override
- public String getUniqueIdentifier() {
- throw new AssertionError();
- }
-
- @Override
- public URI getUri() {
- throw new AssertionError();
- }
-
- @Override
- public LibrarySource getImportFor(String relPath) {
- return null;
- }
-
- @Override
- public DartSource getSourceFor(String relPath) {
- return null;
- }
- }
-
private static class Compiler {
private final LibrarySource app;
private final List<LibrarySource> embeddedLibraries = new ArrayList<LibrarySource>();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698