| Index: editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/generated/types/AddContentOverlay.java
|
| diff --git a/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/generated/types/AddContentOverlay.java b/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/generated/types/AddContentOverlay.java
|
| index dc3b11bfcc257655f8f471637e33ca46b2fb541b..c7be6e8adbcf526caf5b7e0fa28028a6002aed7a 100644
|
| --- a/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/generated/types/AddContentOverlay.java
|
| +++ b/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/generated/types/AddContentOverlay.java
|
| @@ -56,8 +56,8 @@ public class AddContentOverlay {
|
| /**
|
| * Constructor for {@link AddContentOverlay}.
|
| */
|
| - public AddContentOverlay(String type, String content) {
|
| - this.type = type;
|
| + public AddContentOverlay(String content) {
|
| + this.type = "add";
|
| this.content = content;
|
| }
|
|
|
| @@ -75,7 +75,7 @@ public class AddContentOverlay {
|
| public static AddContentOverlay fromJson(JsonObject jsonObject) {
|
| String type = jsonObject.get("type").getAsString();
|
| String content = jsonObject.get("content").getAsString();
|
| - return new AddContentOverlay(type, content);
|
| + return new AddContentOverlay(content);
|
| }
|
|
|
| public static List<AddContentOverlay> fromJsonArray(JsonArray jsonArray) {
|
|
|