| Index: editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/generated/types/SourceEdit.java
|
| diff --git a/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/generated/types/SourceEdit.java b/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/generated/types/SourceEdit.java
|
| index 2912bfae679af556727159ab87249ad882eedc98..bb5d1307675c8ef5ad5781c172b14e7e67440457 100644
|
| --- a/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/generated/types/SourceEdit.java
|
| +++ b/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/generated/types/SourceEdit.java
|
| @@ -31,9 +31,9 @@ import org.apache.commons.lang3.StringUtils;
|
| public class SourceEdit {
|
|
|
| /**
|
| - * The length of the region to be modified.
|
| + * An empty array of {@link SourceEdit}s.
|
| */
|
| - private final int length;
|
| + public static final SourceEdit[] EMPTY_ARRAY = new SourceEdit[0];
|
|
|
| /**
|
| * The offset of the region to be modified.
|
| @@ -41,6 +41,11 @@ public class SourceEdit {
|
| private final int offset;
|
|
|
| /**
|
| + * The length of the region to be modified.
|
| + */
|
| + private final int length;
|
| +
|
| + /**
|
| * The code that is to replace the specified region in the original code.
|
| */
|
| private final String replacement;
|
|
|