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

Unified Diff: editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/test/util/TestProject.java

Issue 440683005: remove unused search and adapter classes and methods (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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: editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/test/util/TestProject.java
diff --git a/editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/test/util/TestProject.java b/editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/test/util/TestProject.java
index cd377db004c71d1b28ff755d5fa51361fdc24fb0..83714d063c257434035d991d149565be9f891b65 100644
--- a/editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/test/util/TestProject.java
+++ b/editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/test/util/TestProject.java
@@ -210,9 +210,7 @@ public class TestProject {
* Creates or updates {@link CompilationUnit} at given path.
*/
public CompilationUnit setUnitContent(String path, String content) throws Exception {
- IFile file = setFileContent(path, content);
- CompilationUnit unit = (CompilationUnit) DartCore.create(file);
-
- return unit;
+ setFileContent(path, content);
+ return null;
}
}

Powered by Google App Engine
This is Rietveld 408576698