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

Unified Diff: editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/generated/types/AnalysisStatus.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/AnalysisStatus.java
diff --git a/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/generated/types/AnalysisStatus.java b/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/generated/types/AnalysisStatus.java
index 15b11c02ce2e142907a715990213de743af475ff..a68fbf1dc16b5c7b07fc58305ac169f32596f764 100644
--- a/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/generated/types/AnalysisStatus.java
+++ b/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/generated/types/AnalysisStatus.java
@@ -38,7 +38,7 @@ public class AnalysisStatus {
/**
* True if analysis is currently being performed.
*/
- private final boolean analyzing;
+ private final Boolean analyzing;
/**
* The name of the current target of analysis. This field is omitted if analyzing is false.
@@ -48,7 +48,7 @@ public class AnalysisStatus {
/**
* Constructor for {@link AnalysisStatus}.
*/
- public AnalysisStatus(boolean analyzing, String analysisTarget) {
+ public AnalysisStatus(Boolean analyzing, String analysisTarget) {
this.analyzing = analyzing;
this.analysisTarget = analysisTarget;
}
@@ -58,7 +58,7 @@ public class AnalysisStatus {
if (obj instanceof AnalysisStatus) {
AnalysisStatus other = (AnalysisStatus) obj;
return
- other.analyzing == analyzing &&
+ ObjectUtilities.equals(other.analyzing, analyzing) &&
ObjectUtilities.equals(other.analysisTarget, analysisTarget);
}
return false;
@@ -74,7 +74,7 @@ public class AnalysisStatus {
/**
* True if analysis is currently being performed.
*/
- public boolean getAnalyzing() {
+ public Boolean getAnalyzing() {
return analyzing;
}

Powered by Google App Engine
This is Rietveld 408576698