Index: pkg/analyzer_plugin/lib/src/utilities/change_builder/change_builder_core.dart |
diff --git a/pkg/analyzer_plugin/lib/src/utilities/change_builder/change_builder_core.dart b/pkg/analyzer_plugin/lib/src/utilities/change_builder/change_builder_core.dart |
index 40b3b344435c76b94cff5d8a4f30ca5d5bbc1535..66860037644c9979a7c26d9b93880d5ee2c7f362 100644 |
--- a/pkg/analyzer_plugin/lib/src/utilities/change_builder/change_builder_core.dart |
+++ b/pkg/analyzer_plugin/lib/src/utilities/change_builder/change_builder_core.dart |
@@ -44,9 +44,9 @@ class ChangeBuilderImpl implements ChangeBuilder { |
} |
@override |
- Future<Null> addFileEdit(String path, int fileStamp, |
- void buildFileEdit(FileEditBuilder builder)) async { |
- FileEditBuilderImpl builder = await createFileEditBuilder(path, fileStamp); |
+ Future<Null> addFileEdit( |
+ String path, void buildFileEdit(FileEditBuilder builder)) async { |
+ FileEditBuilderImpl builder = await createFileEditBuilder(path); |
buildFileEdit(builder); |
_change.addFileEdit(builder.fileEdit); |
builder.finalize(); |
@@ -56,9 +56,8 @@ class ChangeBuilderImpl implements ChangeBuilder { |
* Create and return a [FileEditBuilder] that can be used to build edits to |
* the file with the given [path] and [timeStamp]. |
*/ |
- Future<FileEditBuilderImpl> createFileEditBuilder( |
- String path, int timeStamp) async { |
- return new FileEditBuilderImpl(this, path, timeStamp); |
+ Future<FileEditBuilderImpl> createFileEditBuilder(String path) async { |
+ return new FileEditBuilderImpl(this, path, 0); |
} |
/** |