Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cfb08200 authored by Dirk Dougherty's avatar Dirk Dougherty Committed by The Android Open Source Project
Browse files

am 40a06d89: AI 148314: Remove droiddoc code that applies the deprecated

Merge commit '40a06d89' into donut

* commit '40a06d89':
  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
parents 95282484 40a06d89
Loading
Loading
Loading
Loading
+1 −9
Original line number Diff line number Diff line
@@ -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()