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

Unified Diff: pkg/analysis_server/lib/src/services/index/store/codec.dart

Issue 721223002: Remove unused methods in analysis_server. (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
Index: pkg/analysis_server/lib/src/services/index/store/codec.dart
diff --git a/pkg/analysis_server/lib/src/services/index/store/codec.dart b/pkg/analysis_server/lib/src/services/index/store/codec.dart
index ec2bb94bd11ec12e2448fb7f3b5c4e3984ef2886..b06ec563bb8dead4a416139a0ee543a88d26f50d 100644
--- a/pkg/analysis_server/lib/src/services/index/store/codec.dart
+++ b/pkg/analysis_server/lib/src/services/index/store/codec.dart
@@ -203,14 +203,6 @@ class ElementCodec {
return <int>[firstId, lastId];
}
- static String _getComponentUnit(Element element) {
- LibraryElement libraryElement = element.library;
- if (libraryElement == null) {
- return 'null';
- }
- return libraryElement.definingCompilationUnit.source.fullName;
- }
-
static bool _hasLocalOffset(List<String> components) {
for (String component in components) {
if (component.indexOf('@') != -1) {
@@ -219,14 +211,6 @@ class ElementCodec {
}
return false;
}
-
- static String _substringBeforeAt(String str) {
- int atOffset = str.indexOf('@');
- if (atOffset != -1) {
- str = str.substring(0, atOffset);
- }
- return str;
- }
}

Powered by Google App Engine
This is Rietveld 408576698