| Index: editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/generated/types/Error.java
|
| diff --git a/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/generated/types/Error.java b/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/generated/types/Error.java
|
| index 937cd6ba6fcff110c8fa088a44025871ced923ac..9bff613e081741cae271f041bd13c2786d493385 100644
|
| --- a/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/generated/types/Error.java
|
| +++ b/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/generated/types/Error.java
|
| @@ -32,15 +32,14 @@ import org.apache.commons.lang3.StringUtils;
|
| public class Error {
|
|
|
| /**
|
| - * A code that uniquely identifies the error that occurred.
|
| + * An empty array of {@link Error}s.
|
| */
|
| - private final String code;
|
| + public static final Error[] EMPTY_ARRAY = new Error[0];
|
|
|
| /**
|
| - * Additional data related to the error. This field is omitted if there is no additional data
|
| - * available.
|
| + * A code that uniquely identifies the error that occurred.
|
| */
|
| - private final Object data;
|
| + private final String code;
|
|
|
| /**
|
| * A short description of the error.
|
| @@ -48,6 +47,12 @@ public class Error {
|
| private final String message;
|
|
|
| /**
|
| + * Additional data related to the error. This field is omitted if there is no additional data
|
| + * available.
|
| + */
|
| + private final Object data;
|
| +
|
| + /**
|
| * Constructor for {@link Error}.
|
| */
|
| public Error(String code, String message, Object data) {
|
|
|