diff options
author | Tobias Thierer <tobiast@google.com> | 2017-04-12 18:16:06 +0100 |
---|---|---|
committer | Tobias Thierer <tobiast@google.com> | 2017-04-12 18:52:36 +0100 |
commit | 9eca269fb2932fb9fd99b6e898600e7a21ade0e0 (patch) | |
tree | 80a9cf7221dabc780c9c6a49d4be864ddf949e01 /tools/docs/crypto/crypto_docs.py | |
parent | de283414f204358be778468d6081097a4b721cdc (diff) |
Ensure all ojluni Android-changed comments occur in line comments.
This brings the comments closer to the style guide and allows
automated extraction of the comment body.
After this CL, every occurence of "Android-" in a ojluni .java file
is in a line that contains a match for the regexp pattern:
"// (BEGIN |END |)Android-(?:changed|added|removed|note)(?:(?:: )?(.*))$"
Most of the previous violations of this rule were block comments that
should have been line comments (per the style guide), but there were
also some other occurence such as a reference to some other
"(Android-removed)" parts in prose, which was changed to
"(Android removed)".
There was a mix of:
Android-removed: this debugging mechanism is not used in Android.
Android-removed: this debugging mechanism is not used in Android
Android-removed: this debugging mechanism is not supported in Android.
comments that were all normalized to:
// Android-removed: this debugging mechanism is not used in Android.
Test: Treehugger build succeeds
Test: Script (unsubmitted) does not find any occurences of "Android-"
in ojluni .java files that do not match the above regex Pattern.
Bug: 35841464
Change-Id: Ib35bb1215d1fc29e82ba0a12f32c86423c737173
Diffstat (limited to 'tools/docs/crypto/crypto_docs.py')
0 files changed, 0 insertions, 0 deletions