You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, I realized that. I tried to let protobuf team know if they can fix this in javalite, but seems no one has replied me. I am going to disable the warning.
The couple of (there were more, fixed one or two easy ones in #6829) errorprone warnings in android-interop-testing do not have obvious solutions. I will try again to get rid of them.
If we disagree with errorprone on a particular line we can always add a suppression, like @SuppressWarnings("Finally"). If we agree with errorprone but can't quite figure out what to do, we can suppress it and file a bug to track it (with a link to the issue at the suppression).
If an errorprone check just doesn't seem appropriate for us (like maybe Finally, given we haven't considered ourselves able to use try-with-resources), then we can disable that check completely with -Xep.
The important thing is to keep the build clean, because new warnings are really hard to spot in a sea of noise.
For the generated code, we should probably disable the warning, like we do elsewhere:
grpc-java/protobuf-lite/build.gradle
Lines 29 to 32 in 9dec06c
The rest look like they'll need changes, but I just too a cursory glance.
The text was updated successfully, but these errors were encountered: