RFR: 8329761: Remove unused KeyBuilder and unusedSets from StyleContext
Alexey Ivanov
aivanov at openjdk.org
Fri Apr 5 18:12:09 UTC 2024
On Fri, 5 Apr 2024 16:29:56 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:
> Could you please check the history of that file, is these unused due to some functionality was deleted and this was missed, or we planned to implement something and forgot?
Both were used in pre-historic days.
The `unusedSets` field tracked the number of unused attribute sets passed to the `reclaim` method. It's been unused since `attributePool` became `WeakHashMap`.
The `KeyBuilder` was used for searching… The `search` field was an instance of `KeyBuilder`.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/18659#issuecomment-2040362838
More information about the client-libs-dev
mailing list