| Index: editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/generated/types/SearchResult.java
|
| diff --git a/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/generated/types/SearchResult.java b/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/generated/types/SearchResult.java
|
| index 4b201b13b94ed1e6793eed4d207e4e437f04930b..69eb4b483af164bcdd9291857ee7ca708cf43a14 100644
|
| --- a/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/generated/types/SearchResult.java
|
| +++ b/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/generated/types/SearchResult.java
|
| @@ -26,6 +26,7 @@ import com.google.gson.JsonArray;
|
| import com.google.gson.JsonElement;
|
| import com.google.gson.JsonObject;
|
| import com.google.gson.JsonPrimitive;
|
| +import org.apache.commons.lang3.builder.HashCodeBuilder;
|
| import java.util.ArrayList;
|
| import java.util.Iterator;
|
| import org.apache.commons.lang3.StringUtils;
|
| @@ -139,6 +140,16 @@ public class SearchResult {
|
| return path;
|
| }
|
|
|
| + @Override
|
| + public int hashCode() {
|
| + HashCodeBuilder builder = new HashCodeBuilder();
|
| + builder.append(location);
|
| + builder.append(kind);
|
| + builder.append(isPotential);
|
| + builder.append(path);
|
| + return builder.toHashCode();
|
| + }
|
| +
|
| public JsonObject toJson() {
|
| JsonObject jsonObject = new JsonObject();
|
| jsonObject.add("location", location.toJson());
|
|
|