Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8259283

use new HtmlId and HtmlIds classes

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 17
    • Fix Version/s: 17
    • Component/s: tools
    • Labels:

      Description

      ids are represented by simple strings, and are created inconsistently throughout the standard doclet, including in SectionName, Links, and with miscellaneous string constants.

      It would be good to introduce a type-safe wrapper class, HtmlId, and then centralize the management of ids in a new factory class, HtmlIds.

      As a followup up, it would then be good to review the names of the ids we generate, to attempt a more consistent naming scheme.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jjg Jonathan Gibbons
              Reporter:
              jjg Jonathan Gibbons
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: