On Wed, 23 Dec 2020 05:08:04 GMT, Jonathan Gibbons <j...@openjdk.org> wrote:
>> Yoshiki Sato has updated the pull request incrementally with one additional >> commit since the last revision: >> >> 5th: 8258460: Remove --doclint-format option from javac > > src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclint/Checker.java line > 710: > >> 708: >> 709: >> 710: private boolean checkAnchor(String name) { > > I was going to let it slide for this round of cleanup, but if you're editing > this file again (see comment on line 736) it might be worth changing the use > of `anchor` to `id`. `anchor` is a term that was more appropriate in the > days before the `id` attribute, when we used `<a name="...">`. This is an > optional suggestion. It might equally be worth focussing on the must-fix > items, and postpone this cleanup for later. I understand. But is it really no problem to be done in part of the cleanup of doclint? Looking at the classes in jdk/javadoc/internal/doclint, the term `(anchor|Anchor)` looks like only used in Checker.java and resource files. But a lot of other files, for instance in jdk/javadoc/internal/doclets, use this term to refer to the `id` or `name` attribute. I would be fine if it is supposed to be done in each cleanup in the future. ------------- PR: https://git.openjdk.java.net/jdk/pull/893