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

Unified Diff: pkg/analysis_server/lib/src/status/element_writer.dart

Issue 1801883002: Remove old index and search implementations. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: 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/src/status/element_writer.dart
diff --git a/pkg/analysis_server/lib/src/status/element_writer.dart b/pkg/analysis_server/lib/src/status/element_writer.dart
index aa6a406202ed3a1ea2c5c6a98d9316f8d424d421..c3e4bc20915fa7d578aa551f26226c29ae2da2d1 100644
--- a/pkg/analysis_server/lib/src/status/element_writer.dart
+++ b/pkg/analysis_server/lib/src/status/element_writer.dart
@@ -7,7 +7,6 @@ library analysis_server.src.status.element_writer;
import 'dart:collection';
import 'dart:convert';
-import 'package:analysis_server/src/status/get_handler.dart';
import 'package:analysis_server/src/status/tree_writer.dart';
import 'package:analyzer/dart/element/element.dart';
import 'package:analyzer/dart/element/visitor.dart';
@@ -165,15 +164,6 @@ class ElementWriter extends GeneralizingElementVisitor with TreeWriter {
buffer.write(' <span style="color:gray">(');
buffer.write(element.runtimeType);
buffer.write(')</span>');
- if (element is! LibraryElement) {
- String name = element.name;
- if (name != null) {
- buffer.write('&nbsp;&nbsp;[');
- buffer.write(GetHandler.makeLink(
- GetHandler.INDEX_ELEMENT_BY_NAME, {'name': name}, 'search index'));
- buffer.write(']');
- }
- }
buffer.write('<br>');
}
}

Powered by Google App Engine
This is Rietveld 408576698