-
Enhancement
-
Resolution: Fixed
-
P3
-
12
-
b22
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.
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.
- relates to
-
JDK-8160697 HTMLWriter needs perf cleanup
-
- Closed
-