diff options
author | Andrew Sapperstein <asapperstein@google.com> | 2020-04-28 12:22:47 -0700 |
---|---|---|
committer | Andrew Sapperstein <asapperstein@google.com> | 2020-05-02 01:15:30 +0000 |
commit | 06f3bffd93f9d90299fd3ffaeea995f812de5a56 (patch) | |
tree | e2670beaec9aeb9d57a3e2c860e1a1e6056ec3a9 | |
parent | 927d8aa74c871499d85c8cc919cb7ce0de42ecb5 (diff) | |
download | doclava-06f3bffd93f9d90299fd3ffaeea995f812de5a56.tar.gz |
Stop suppressing @see tags in frameworks/base.
All broken @see references have been fixed.
Bug: 6963924
Test: make doc-comment-check-docs
Change-Id: Ibd92bbf8702862f3d7e1f95d448f45c24d436404
Merged-In: Ibd92bbf8702862f3d7e1f95d448f45c24d436404
-rw-r--r-- | src/com/google/doclava/SeeTagInfo.java | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/src/com/google/doclava/SeeTagInfo.java b/src/com/google/doclava/SeeTagInfo.java index eddc595..fee8ce2 100644 --- a/src/com/google/doclava/SeeTagInfo.java +++ b/src/com/google/doclava/SeeTagInfo.java @@ -35,16 +35,8 @@ public class SeeTagInfo extends TagInfo { protected LinkReference linkReference() { if (mLink == null) { - // If this is a @see reference in frameworks/base, suppress errors about broken references. - // Outside of frameworks/base, and the generated android/R file, all such - // errors have been fixed, see b/80570421. - boolean suppressableSeeReference = - "@see".equals(name()) && - (position().file.contains("frameworks/base/") - || position().file.endsWith("android/R.java")); - mLink = - LinkReference.parse(text(), mBase, position(), !suppressableSeeReference - && (mBase != null ? mBase.checkLevel() : true)); + mLink = LinkReference.parse(text(), mBase, position(), + mBase != null ? mBase.checkLevel() : true); } return mLink; } |