diff options
author | Aurimas Liutikas <aurimas@google.com> | 2018-08-06 18:45:00 -0700 |
---|---|---|
committer | Aurimas Liutikas <aurimas@google.com> | 2018-08-06 18:45:52 -0700 |
commit | a345e1824987f41abe0270233efad6e0d3f1defb (patch) | |
tree | 2a8a85ca9c2ce28e1593c3c109094f315b191083 | |
parent | 86de7f03745a4d9ce2cb3b8e1dd096449f063ef7 (diff) | |
download | doclava-a345e1824987f41abe0270233efad6e0d3f1defb.tar.gz |
Start catching broken @see tags in frameworks/support.
Bug: 73795769
Test: ./gradlew buildOnServer in support library
Change-Id: Iae014f4e2862fdb32153488f210e2a9d31f4a3c6
-rw-r--r-- | src/com/google/doclava/SeeTagInfo.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/com/google/doclava/SeeTagInfo.java b/src/com/google/doclava/SeeTagInfo.java index 040cbf0..eddc595 100644 --- a/src/com/google/doclava/SeeTagInfo.java +++ b/src/com/google/doclava/SeeTagInfo.java @@ -36,12 +36,11 @@ 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, frameworks/support, and the generated android/R file, all such + // 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.contains("frameworks/support/") || position().file.endsWith("android/R.java")); mLink = LinkReference.parse(text(), mBase, position(), !suppressableSeeReference |