| Index: pkg/analysis_server/lib/src/services/correction/change.dart
|
| diff --git a/pkg/analysis_server/lib/src/services/correction/change.dart b/pkg/analysis_server/lib/src/services/correction/change.dart
|
| index 9d716f08ef067c55a8debbdd4c06b60c0780fb7a..c3edd702d5a99fc3fffa5871f60104d925b9e649 100644
|
| --- a/pkg/analysis_server/lib/src/services/correction/change.dart
|
| +++ b/pkg/analysis_server/lib/src/services/correction/change.dart
|
| @@ -176,13 +176,10 @@ class FileEdit implements HasToJson {
|
| * same way. All linked positions in a group have the same content.
|
| */
|
| class LinkedEditGroup implements HasToJson {
|
| - final String id;
|
| int length;
|
| final List<Position> positions = <Position>[];
|
| final List<LinkedEditSuggestion> suggestions = <LinkedEditSuggestion>[];
|
|
|
| - LinkedEditGroup(this.id);
|
| -
|
| void addPosition(Position position, int length) {
|
| positions.add(position);
|
| this.length = length;
|
| @@ -195,7 +192,6 @@ class LinkedEditGroup implements HasToJson {
|
| @override
|
| Map<String, Object> toJson() {
|
| return {
|
| - ID: id,
|
| LENGTH: length,
|
| POSITIONS: objectToJson(positions),
|
| SUGGESTIONS: objectToJson(suggestions)
|
| @@ -204,8 +200,7 @@ class LinkedEditGroup implements HasToJson {
|
|
|
| @override
|
| String toString() =>
|
| - 'LinkedEditGroup(id=$id, length=$length, '
|
| - 'positions=$positions, suggestions=$suggestions)';
|
| + 'LinkedEditGroup(length=$length, positions=$positions, suggestions=$suggestions)';
|
| }
|
|
|
|
|
|
|