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

Unified Diff: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/source/SourceFactory.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/SourceFactory.java
===================================================================
--- editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/source/SourceFactory.java (revision 16603)
+++ editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/source/SourceFactory.java (working copy)
@@ -50,7 +50,7 @@
* @return the source container representing the directory (not {@code null})
*/
public SourceContainer forDirectory(File directory) {
- return new SourceContainerImpl(directory);
+ return new DirectoryBasedSourceContainer(directory);
}
/**
@@ -60,7 +60,7 @@
* @return a source object representing the given file
*/
public Source forFile(File file) {
- return new SourceImpl(this, file);
+ return new FileBasedSource(this, file);
}
/**
@@ -103,7 +103,7 @@
* contents of the source.
* <p>
* <b>Note:</b> This method is not intended to be used except by
- * {@link SourceImpl#getContents(com.google.dart.engine.source.Source.ContentReceiver)}.
+ * {@link FileBasedSource#getContents(com.google.dart.engine.source.Source.ContentReceiver)}.
*
* @param source the source whose content is to be returned
* @return the contents of the given source

Powered by Google App Engine
This is Rietveld 408576698