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

Unified Diff: pkg/analysis_server/lib/src/status/tree_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/tree_writer.dart
diff --git a/pkg/analysis_server/lib/src/status/tree_writer.dart b/pkg/analysis_server/lib/src/status/tree_writer.dart
index d50a78ecd3c592eb425ceda7ad1e4c79deea7eba..daa7966a0699ac095daaad3f655f6150c01e5ae2 100644
--- a/pkg/analysis_server/lib/src/status/tree_writer.dart
+++ b/pkg/analysis_server/lib/src/status/tree_writer.dart
@@ -6,8 +6,6 @@ library analysis_server.src.status.tree_writer;
import 'dart:convert';
-import 'package:analysis_server/src/status/get_handler.dart';
-import 'package:analyzer/dart/element/element.dart';
import 'package:analyzer/src/dart/element/element.dart';
import 'package:analyzer/src/generated/constant.dart';
import 'package:analyzer/src/generated/java_engine.dart';
@@ -121,15 +119,6 @@ abstract class TreeWriter {
buffer.write('</span>');
} else {
buffer.write(HTML_ESCAPE.convert(valueString));
- if (value is Element && value is! LibraryElement) {
- String name = value.name;
- if (name != null) {
- buffer.write('&nbsp;&nbsp;[');
- buffer.write(GetHandler.makeLink(GetHandler.INDEX_ELEMENT_BY_NAME,
- {'name': name}, 'search index'));
- buffer.write(']');
- }
- }
}
}
}

Powered by Google App Engine
This is Rietveld 408576698