lkishalmi opened a new pull request, #9515: URL: https://github.com/apache/netbeans/pull/9515
Well this is one of the old code we have. Before adding HunSpell support a little facelift won't hurt. The `SpellcheckerOptionsPanel` could see an iteration or two. The `+/-` prefixes in the strings in CheckboxList model bothers me. Though I wanted to avoid accidental functionality changes. The `ErrorHighlightPainter` in `ComponentPeer` became an instance method and used as a method reference instead of creating one instance for each miss-spelled word. I've removed the `getDictionary()` method in `DictionaryImpl` which was supposed to lazy initialize the `dictionary` field. Though as it was called multiple times during the construction it seems to be pretty useless. Added a few records where it made sense. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
