FXThemes icon indicating copy to clipboard operation
FXThemes copied to clipboard

Use empty Optional if no ThemeManager can be loaded

Open koppor opened this issue 5 months ago • 0 comments

Currently, a void ThemeManager is returned:

https://github.com/dukke/FXThemes/blob/33590f7524e607bba1faaf9cd8b3b1c5d29a9462/FXThemes/src/main/java/com/pixelduke/window/ThemeWindowManagerFactory.java#L32

IMHO, there should be an empty Optional should be returned.

koppor avatar Jul 23 '25 11:07 koppor