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

Unified Diff: pkg/analysis_server/lib/src/computer/error.dart

Issue 569243003: Remove unused code. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 3 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/computer/error.dart
diff --git a/pkg/analysis_server/lib/src/computer/error.dart b/pkg/analysis_server/lib/src/computer/error.dart
deleted file mode 100644
index 11f6d68e16d79819491efbd3fc32c247eda21c01..0000000000000000000000000000000000000000
--- a/pkg/analysis_server/lib/src/computer/error.dart
+++ /dev/null
@@ -1,21 +0,0 @@
-// Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-library computer.error;
-
-import 'package:analysis_server/src/protocol.dart';
-import 'package:analyzer/src/generated/engine.dart' as engine;
-import 'package:analyzer/src/generated/error.dart' as engine;
-import 'package:analyzer/src/generated/source.dart' as engine;
-
-
-/**
- * Returns a JSON correponding to the given list of Engine errors.
- */
-List<Map<String, Object>> engineErrorsToJson(engine.LineInfo lineInfo,
- List<engine.AnalysisError> errors) {
- return errors.map((engine.AnalysisError error) {
- return new AnalysisError.fromEngine(lineInfo, error).toJson();
- }).toList();
-}
« no previous file with comments | « pkg/analysis_server/lib/src/computer/element.dart ('k') | pkg/analysis_server/test/computer/error_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698