summaryrefslogtreecommitdiff
path: root/annotations/generate_annotated_java_files.py
diff options
context:
space:
mode:
authorTobias Thierer <tobiast@google.com>2019-04-03 18:06:18 +0100
committerTobias Thierer <tobiast@google.com>2019-05-03 19:27:39 +0100
commit6bd07db6e4f0806b658fc44bfee5dbef2c409540 (patch)
tree68f28186b48fa06f0eb1b0362b1c4c718d9e590f /annotations/generate_annotated_java_files.py
parentf462b9e21ee962db0e313a13df4c0a74cd0e466e (diff)
Refactoring: Rewrite links in Metalava instead of carrying patches.
Some .java files in libcore/ojluni contain links that go outside of {@docRoot}. Before this CL topic, libcore was carrying 208 patches to these links. Another CL in this topic adds logic to rewrite the links at doc generation time instead; this allows us to drop the libcore patches in this CL. After this CL, 49 of the 91 files touched will no longer carry any patches, i.e. they will then be exactly identical to upstream OpenJDK 8u121-b13. This reduces the number of ojluni files that carry patches by 9% (554 -> 505). 8 unrelated patches in BlockingQueue.java for links to ../Collection.html#optional-restrictions are kept. Bug: 129765390 Test: Checked that this CL topic does not affect the docs generated by make ds-docs offline-sdk-docs (in other words, the docs generated before vs. after this CL topic are equivalent). Change-Id: I14f95709ade860b03a42d6ff1b228f07267490c7
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions