| Index: editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/generated/types/Location.java
|
| diff --git a/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/generated/types/Location.java b/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/generated/types/Location.java
|
| index d55dec88dcad59b22c1c1de5d2c01e7e77fe6416..e6a137bd69c39f9efeaad252bf5a140c175e40f1 100644
|
| --- a/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/generated/types/Location.java
|
| +++ b/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/generated/types/Location.java
|
| @@ -31,14 +31,14 @@ import org.apache.commons.lang3.StringUtils;
|
| public class Location {
|
|
|
| /**
|
| - * The file containing the range.
|
| + * An empty array of {@link Location}s.
|
| */
|
| - private final String file;
|
| + public static final Location[] EMPTY_ARRAY = new Location[0];
|
|
|
| /**
|
| - * The length of the range.
|
| + * The file containing the range.
|
| */
|
| - private final int length;
|
| + private final String file;
|
|
|
| /**
|
| * The offset of the range.
|
| @@ -46,9 +46,9 @@ public class Location {
|
| private final int offset;
|
|
|
| /**
|
| - * The one-based index of the column containing the first character of the range.
|
| + * The length of the range.
|
| */
|
| - private final int startColumn;
|
| + private final int length;
|
|
|
| /**
|
| * The one-based index of the line containing the first character of the range.
|
| @@ -56,6 +56,11 @@ public class Location {
|
| private final int startLine;
|
|
|
| /**
|
| + * The one-based index of the column containing the first character of the range.
|
| + */
|
| + private final int startColumn;
|
| +
|
| + /**
|
| * Constructor for {@link Location}.
|
| */
|
| public Location(String file, int offset, int length, int startLine, int startColumn) {
|
|
|