OSDN Git Service

AI 148314: Remove droiddoc code that applies the deprecated state of superclasses...
authorDirk Dougherty <nobody@android.com>
Tue, 5 May 2009 20:41:56 +0000 (13:41 -0700)
committerThe Android Open Source Project <initial-contribution@android.com>
Tue, 5 May 2009 20:41:56 +0000 (13:41 -0700)
  BUG=1827730

Automated import of CL 148314

tools/droiddoc/src/ClassInfo.java

index a3fcc92..2fd65e0 100644 (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()