AI 148314: Remove droiddoc code that applies the deprecated state of superclasses to subclasses. This change was originally made in Gerrit 7655. https://review.source.android.com/Gerrit#change,7655

BUG=1827730

Automated import of CL 148314
This commit is contained in:
Dirk Dougherty
2009-05-05 13:41:56 -07:00
committed by The Android Open Source Project
parent c521e26640
commit 40a06d8940

View File

@@ -378,16 +378,8 @@ public class ClassInfo extends DocInfo implements ContainerInfo, Comparable, Sco
public TagInfo[] deprecatedTags()
{
TagInfo[] result = comment().deprecatedTags();
if (result.length == 0) {
if (comment().undeprecateTags().length == 0) {
if (superclass() != null) {
result = superclass().deprecatedTags();
}
}
}
// should we also do the interfaces?
return result;
return comment().deprecatedTags();
}
public MethodInfo[] methods()