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

Unified Diff: pkg/analysis_server/lib/src/edit/fix.dart

Issue 447613002: Make Change implementation consistent with the server spec. (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
« no previous file with comments | « no previous file | pkg/analysis_server/test/edit/fix_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/lib/src/edit/fix.dart
diff --git a/pkg/analysis_server/lib/src/edit/fix.dart b/pkg/analysis_server/lib/src/edit/fix.dart
index 5e765d4d2f067157633eafe440596cb4a226248c..f34c110521727ff90f47f0250357df8fff23f952 100644
--- a/pkg/analysis_server/lib/src/edit/fix.dart
+++ b/pkg/analysis_server/lib/src/edit/fix.dart
@@ -32,13 +32,4 @@ class ErrorFixes implements HasToJson {
@override
String toString() => 'ErrorFixes(error=$error, fixes=$fixes)';
-
- static ErrorFixes fromJson(Map<String, Object> json) {
- AnalysisError error = AnalysisError.fromJson(json[ERROR]);
- ErrorFixes errorFixes = new ErrorFixes(error);
- errorFixes.fixes.addAll((json[FIXES] as List).map((json) {
- return Change.fromJson(json);
- }));
- return errorFixes;
- }
}
« no previous file with comments | « no previous file | pkg/analysis_server/test/edit/fix_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698