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

Unified Diff: editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/generated/types/SearchResult.java

Issue 484833003: Change type boolean to Boolean in Java generated code (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 4 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.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 56ddc05e29ac16d4fd2fe1c9798d70f60548abf7..2a24a6ae047883bdede8683811c9f8fd55373f19 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
@@ -50,7 +50,7 @@ public class SearchResult {
* all references to a method m defined in some class were requested, and a reference to a method m
* from an unknown class were found, it would be marked as being a potential match.
*/
- private final boolean isPotential;
+ private final Boolean isPotential;
/**
* The elements that contain the result, starting with the most immediately enclosing ancestor and
@@ -61,7 +61,7 @@ public class SearchResult {
/**
* Constructor for {@link SearchResult}.
*/
- public SearchResult(Location location, String kind, boolean isPotential, List<Element> path) {
+ public SearchResult(Location location, String kind, Boolean isPotential, List<Element> path) {
this.location = location;
this.kind = kind;
this.isPotential = isPotential;
@@ -75,7 +75,7 @@ public class SearchResult {
return
ObjectUtilities.equals(other.location, location) &&
ObjectUtilities.equals(other.kind, kind) &&
- other.isPotential == isPotential &&
+ ObjectUtilities.equals(other.isPotential, isPotential) &&
ObjectUtilities.equals(other.path, path);
}
return false;
@@ -86,7 +86,7 @@ public class SearchResult {
* all references to a method m defined in some class were requested, and a reference to a method m
* from an unknown class were found, it would be marked as being a potential match.
*/
- public boolean getIsPotential() {
+ public Boolean getIsPotential() {
return isPotential;
}

Powered by Google App Engine
This is Rietveld 408576698