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

Unified Diff: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/source/PackageUriResolver.java

Issue 11745013: Rename two classes (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 12 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.engine/src/com/google/dart/engine/source/PackageUriResolver.java
===================================================================
--- editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/source/PackageUriResolver.java (revision 16603)
+++ editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/source/PackageUriResolver.java (working copy)
@@ -70,9 +70,9 @@
for (File packagesDirectory : packagesDirectories) {
File resolvedFile = new File(packagesDirectory, path);
if (resolvedFile.exists()) {
- return new SourceImpl(factory, resolvedFile);
+ return new FileBasedSource(factory, resolvedFile);
}
}
- return new SourceImpl(factory, new File(packagesDirectories[0], path));
+ return new FileBasedSource(factory, new File(packagesDirectories[0], path));
}
}

Powered by Google App Engine
This is Rietveld 408576698