Open sschulz92 opened 2 years ago
Within the javadoc of newInstance() it is described how to fix the deprecation (Class.class):
newInstance()
clazz.newInstance() can be replaced by clazz.getDeclaredConstructor().newInstance()
This is what I did for all places where this deprecation occured.
@fgdrf do you mind having a look onto this beauty? :)
Within the javadoc of
newInstance()
it is described how to fix the deprecation (Class.class):This is what I did for all places where this deprecation occured.