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

Unified Diff: pkg/analyzer/lib/src/error.dart

Issue 728513002: Remove some (but not all) unused methods in analyzer. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 1 month 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/analyzer/lib/src/generated/constant.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/error.dart
diff --git a/pkg/analyzer/lib/src/error.dart b/pkg/analyzer/lib/src/error.dart
index b138e41bd8035531692d357bea9aa3351f8189a5..2b95b69a0995e1bc63b206f8235bcf20aaa61cb7 100644
--- a/pkg/analyzer/lib/src/error.dart
+++ b/pkg/analyzer/lib/src/error.dart
@@ -6,7 +6,6 @@ library error;
import 'dart:collection';
import 'generated/error.dart';
-import 'generated/source.dart';
/// The maximum line length when printing extracted source code when converting
/// an [AnalyzerError] to a string.
@@ -94,11 +93,11 @@ class AnalyzerError implements Exception {
}
// A content receiver that collects all the content into a string.
-class _ContentReceiver implements Source_ContentReceiver {
- final _buffer = new StringBuffer();
-
- String get result => _buffer.toString();
-
- void accept(String contents, _) =>
- _buffer.write(contents.substring(0, contents.length));
-}
+//class _ContentReceiver implements Source_ContentReceiver {
Brian Wilkerson 2014/11/13 16:51:56 We should be able to safely delete this class (not
scheglov 2014/11/13 17:07:10 Done.
+// final _buffer = new StringBuffer();
+//
+// String get result => _buffer.toString();
+//
+// void accept(String contents, _) =>
+// _buffer.write(contents.substring(0, contents.length));
+//}
« no previous file with comments | « no previous file | pkg/analyzer/lib/src/generated/constant.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698