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

Remove wrapper methods from {Base,Html}Configuration

    XMLWordPrintable

    Details

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

      Description

      A long time ago, the configuration classes (originally Configuration and ConfigurationImpl, now BaseConfiguration and HtmlConfiguration) were used to provide lots of utility methods.

      JDK-8160697 started a cleanup that moved some of these utility methods into worker classes Resources and Contents, where the values could even be cached if appropriate.

      However, while many uses, and most new uses, used the new classes, some code still used the old methods, which became wrappers around the new functionality, meaning that the code is stylistically inconsistent, sometimes using the wrapper method, sometimes using the underlying method.

      It is time to clean up that inconsistency, replace use of the wrapper methods with equivalent underlying methods, and to remove the wrapper methods.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: