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

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

Issue 1855643002: More strong mode changes to analysis_server (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Backout changes to options file Created 4 years, 9 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/plugin/protocol/protocol.dart
diff --git a/pkg/analysis_server/lib/plugin/protocol/protocol.dart b/pkg/analysis_server/lib/plugin/protocol/protocol.dart
index 0708c3bd47c97b74bff14725ff0909adcadb4021..032e4f96b3e5b93ae70df088dbe53014993ecfa9 100644
--- a/pkg/analysis_server/lib/plugin/protocol/protocol.dart
+++ b/pkg/analysis_server/lib/plugin/protocol/protocol.dart
@@ -86,7 +86,7 @@ class Notification {
/**
* Initialize a newly created instance based on the given JSON data.
*/
- factory Notification.fromJson(Map<String, Object> json) {
+ factory Notification.fromJson(Map json) {
return new Notification(json[Notification.EVENT],
json[Notification.PARAMS] as Map<String, Object>);
}
@@ -368,7 +368,7 @@ class Response {
/**
* Initialize a newly created instance based on the given JSON data.
*/
- factory Response.fromJson(Map<String, Object> json) {
+ factory Response.fromJson(Map json) {
try {
Object id = json[Response.ID];
if (id is! String) {
« no previous file with comments | « pkg/analysis_server/benchmark/integration/operation.dart ('k') | pkg/analysis_server/lib/src/analysis_manager.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698