Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix deprected usage if 'newInstance' #660

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

sschulz92
Copy link
Contributor

Within the javadoc of newInstance() it is described how to fix the deprecation (Class.class):

clazz.newInstance() can be replaced by clazz.getDeclaredConstructor().newInstance()

This is what I did for all places where this deprecation occured.

@sschulz92
Copy link
Contributor Author

@fgdrf do you mind having a look onto this beauty? :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant