We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
clazz.newInstance()
Generated code should not use deprecated methods
Generated code (Kotlin): val ingestionMetadata = clazz.newInstance()
val ingestionMetadata = clazz.newInstance()
Replace with val ingestionMetadata = clazz.getDeclaredConstructor().newInstance()
val ingestionMetadata = clazz.getDeclaredConstructor().newInstance()
The text was updated successfully, but these errors were encountered:
Please move to Amplitude-Kotlin repository
Sorry, something went wrong.
No branches or pull requests
Expected Behavior
Generated code should not use deprecated methods
Current Behavior
Generated code (Kotlin):
val ingestionMetadata = clazz.newInstance()
Possible Solution
Replace with
val ingestionMetadata = clazz.getDeclaredConstructor().newInstance()
Steps to Reproduce
Environment
The text was updated successfully, but these errors were encountered: