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

Unified Diff: compiler/java/com/google/dart/compiler/ast/LibraryUnit.java

Issue 10827286: Fix for issue 4429 - remove #resource directive (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 4 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/ast/LibraryUnit.java
===================================================================
--- compiler/java/com/google/dart/compiler/ast/LibraryUnit.java (revision 10526)
+++ compiler/java/com/google/dart/compiler/ast/LibraryUnit.java (working copy)
@@ -32,7 +32,6 @@
private final LibraryNode selfSourcePath;
private final List<LibraryNode> importPaths = Lists.newArrayList();
private final List<LibraryNode> sourcePaths = Lists.newArrayList();
- private final List<LibraryNode> resourcePaths = Lists.newArrayList();
private final List<LibraryNode> nativePaths = Lists.newArrayList();
private final Map<String, DartUnit> units = new ConcurrentSkipListMap<String, DartUnit>();
@@ -86,11 +85,6 @@
sourceCount++;
}
- public void addResourcePath(LibraryNode path) {
- assert path != null;
- resourcePaths.add(path);
- }
-
public int getSourceCount() {
return sourceCount;
}
@@ -220,16 +214,6 @@
}
/**
- * Return a collection of paths to resources that are included in
- * this library or application.
- *
- * @return the paths (not <code>null</code>, contains no <code>null</code>)
- */
- public Iterable<LibraryNode> getResourcePaths() {
- return resourcePaths;
- }
-
- /**
* Returns a collection of paths to native {@link DartSource}s that are included in this library.
*
* @return the paths (not <code>null</code>, contains no <code>null</code>)

Powered by Google App Engine
This is Rietveld 408576698