Unused TextSourceLabel, TextLabelFactory.createSimple( )

Daniel Gredler djgredler at gmail.com
Wed Sep 17 14:11:40 UTC 2025


Hi all,

I can't find any uses of the `TextSourceLabel` class, or of the associated
factory method `TextLabelFactory.createSimple( )` -- which seems to mirror
`TextLabelFactory.createExtended( )` but without any decorations
(underlining, strikethrough, etc). Possibly there was a need to support
unstyled text at one point, but the code was eventually migrated to always
use styled text?

Is anybody aware of the history of this class and factory method?

Can they be deleted?

Take care,

Daniel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/client-libs-dev/attachments/20250917/c6e529c5/attachment.htm>


More information about the client-libs-dev mailing list