Index: pkg/analysis_server/lib/src/status/get_handler.dart |
diff --git a/pkg/analysis_server/lib/src/status/get_handler.dart b/pkg/analysis_server/lib/src/status/get_handler.dart |
index 406131eca60f2431f728b80dd0aba1b3a54452ac..11cccffc1e21e8adefaa8753068874e7b23997a2 100644 |
--- a/pkg/analysis_server/lib/src/status/get_handler.dart |
+++ b/pkg/analysis_server/lib/src/status/get_handler.dart |
@@ -435,11 +435,7 @@ class GetHandler { |
* Return any AST structure stored in the given [entry]. |
*/ |
CompilationUnit _getAnyAst(CacheEntry entry) { |
- CompilationUnit unit = entry.getValue(PARSED_UNIT1); |
- if (unit != null) { |
- return unit; |
- } |
- unit = entry.getValue(PARSED_UNIT); |
+ CompilationUnit unit = entry.getValue(PARSED_UNIT); |
if (unit != null) { |
return unit; |
} |
@@ -530,7 +526,6 @@ class GetHandler { |
results.add(LIBRARY_ELEMENT); |
results.add(LIBRARY_ERRORS_READY); |
results.add(PARSE_ERRORS); |
- results.add(PARSED_UNIT1); |
results.add(PARSED_UNIT); |
results.add(REFERENCED_NAMES); |
results.add(SCAN_ERRORS); |