forked from openkylin/platform_build
am 40a06d8: AI 148314: Remove droiddoc code that applies the deprecated
Merge commit '40a06d89406a3e928a5e0d41a3077f59d8f5345d' into donut * commit '40a06d89406a3e928a5e0d41a3077f59d8f5345d': 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
This commit is contained in:
commit
cfb082006b
|
@ -378,16 +378,8 @@ public class ClassInfo extends DocInfo implements ContainerInfo, Comparable, Sco
|
||||||
|
|
||||||
public TagInfo[] deprecatedTags()
|
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?
|
// should we also do the interfaces?
|
||||||
return result;
|
return comment().deprecatedTags();
|
||||||
}
|
}
|
||||||
|
|
||||||
public MethodInfo[] methods()
|
public MethodInfo[] methods()
|
||||||
|
|
Loading…
Reference in New Issue