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

Unified Diff: compiler/java/com/google/dart/compiler/parser/DartParserCommentsHelper.java

Issue 11369129: Issue 6463. Remove support for obsolete metadata in comments. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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: compiler/java/com/google/dart/compiler/parser/DartParserCommentsHelper.java
diff --git a/compiler/java/com/google/dart/compiler/parser/DartParserCommentsHelper.java b/compiler/java/com/google/dart/compiler/parser/DartParserCommentsHelper.java
index e21d2b8eb770149736b1ecd4f95a9883c728e6fb..46654c3a76a7c9fa8f8cfefa5db8ccfa00577418 100644
--- a/compiler/java/com/google/dart/compiler/parser/DartParserCommentsHelper.java
+++ b/compiler/java/com/google/dart/compiler/parser/DartParserCommentsHelper.java
@@ -153,13 +153,6 @@ public class DartParserCommentsHelper {
String commentStr = sourceCode.substring(comment.getSourceInfo().getOffset(),
comment.getSourceInfo().getEnd());
tokenizeComment(comment, commentStr);
- // may be @Metadata
- if (commentStr.contains("@deprecated")) {
- decl.setObsoleteMetadata(decl.getObsoleteMetadata().makeDeprecated());
- }
- if (commentStr.contains("@override")) {
- decl.setObsoleteMetadata(decl.getObsoleteMetadata().makeOverride());
- }
// DartDoc
if (comment.isDartDoc()) {
decl.setDartDoc(comment);

Powered by Google App Engine
This is Rietveld 408576698