mirror of https://github.com/grpc/grpc-java.git
Futures almost universally should be handled in some way when being returned, either to receive the value or to cancel scheduled tasks to prevent leaks. Netty is a bit of a special case though, since it constantly returns futures that you ignore (even adding a listener returns the "this" future). So we want to suppress the warning for code using Netty instead of trying to fix it. When we enable ErrorProne in the build, we should start passing -Xep:FutureReturnValueIgnored:OFF in the compilerArgs. |
||
|---|---|---|
| .. | ||
| src | ||
| build.gradle | ||