-
Notifications
You must be signed in to change notification settings - Fork 744
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
UnusedVariable and MethodCanBeStatic should whitelist serialization methods #1271
Comments
PhilippWendler
changed the title
UnusedVariable and MethodCanBeStatic should whiteliste serialization methods
UnusedVariable and MethodCanBeStatic should whitelist serialization methods
May 3, 2019
Doesn't your class need to implement |
Of course, but I just forgot to add this to the minimal test case.
|
Thanks. Will be fixed in the next release. |
Merged
ronshapiro
pushed a commit
that referenced
this issue
Jun 20, 2019
…UnusedMethod, and MethodCanBeStatic. Fixes #1271 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=253954393
ronshapiro
pushed a commit
that referenced
this issue
Jun 21, 2019
…UnusedMethod, and MethodCanBeStatic. Fixes #1271 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=253954393
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In Error-Prone 2.3.3, the following class triggers warnings:
The warnings are:
Of course, these methods need to be declared as they are. Please whitelist them.
Having a
readObject
method that does not use its parameter occurs for example for singletons.The text was updated successfully, but these errors were encountered: