RSyntaxTextArea icon indicating copy to clipboard operation
RSyntaxTextArea copied to clipboard

Replaced Class.forName where possible

Open nbauma109 opened this issue 4 years ago • 1 comments

I recommend using Class.forName only when class name comes from an external source (i.e. system property, etc..). When the class name comes from a string constant in the code, it is possible to replace it with a supplier. It will help avoid breaking the code after an offuscation task, for example.

nbauma109 avatar Dec 06 '21 18:12 nbauma109

This is an API change and is thus slated for 4.0.0.

bobbylight avatar Dec 30 '21 22:12 bobbylight