| 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;
|
| }
|
| }
|
|
|