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

Remove wrapper methods from {Base,Html}Configuration

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 12
    • 12
    • tools

      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.

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

              Created:
              Updated:
              Resolved: