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
I'm adding this to a new project and received the warning,
[AutoValueSubclassLeaked] Do not refer to the autogenerated AutoValue_ class outside the file containing the corresponding @AutoValue base class. PolicyStats.Metric result = new AutoValue_PolicyStats_Metric( ^ (see https://errorprone.info/bugpattern/AutoValueSubclassLeaked)
This seems to be due to the build() method. Ideally this should be suppressed directly, rather than in the error prone configuration.
build()
The text was updated successfully, but these errors were encountered:
I forgot to add excludedPaths = "${buildDir}/generated-sources/.*" in the new project. Still seems like a nice change though.
excludedPaths = "${buildDir}/generated-sources/.*"
Sorry, something went wrong.
No branches or pull requests
I'm adding this to a new project and received the warning,
This seems to be due to the
build()
method. Ideally this should be suppressed directly, rather than in the error prone configuration.The text was updated successfully, but these errors were encountered: