Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(36)

Unified Diff: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/search/SearchMatch.java

Issue 23498016: Update only unique references during rename refactoring. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/search/SearchMatch.java
diff --git a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/search/SearchMatch.java b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/search/SearchMatch.java
index b8359b77e8a3bc4366abf6b3425cbbfc07c63649..59d6de810ca42e87f968e14458e5dfd095d90e27 100644
--- a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/search/SearchMatch.java
+++ b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/search/SearchMatch.java
@@ -142,6 +142,11 @@ public class SearchMatch {
return sourceRange;
}
+ @Override
+ public int hashCode() {
+ return Objects.hashCode(element, sourceRange, kind);
+ }
+
/**
* @return the {@code true} if field or method access is done using qualifier.
*/

Powered by Google App Engine
This is Rietveld 408576698