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

Unified Diff: pkg/analysis_server/lib/src/protocol.dart

Issue 335853003: Handle null content in ContentChange. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 6 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: pkg/analysis_server/lib/src/protocol.dart
diff --git a/pkg/analysis_server/lib/src/protocol.dart b/pkg/analysis_server/lib/src/protocol.dart
index fddf7d2a8cfe89d628ad34bb3b2e6f9aea8cf60a..85a762de026ce9d05552e8017357754a8d9e83a9 100644
--- a/pkg/analysis_server/lib/src/protocol.dart
+++ b/pkg/analysis_server/lib/src/protocol.dart
@@ -401,6 +401,8 @@ class RequestDatum {
}
return datum;
}
+
+ bool get isNull => datum == null;
scheglov 2014/06/13 16:55:53 Should we add a documentation for it?
Paul Berry 2014/06/13 20:23:00 I couldn't think of a documentation comment that w
}
/**

Powered by Google App Engine
This is Rietveld 408576698