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 just wrote some silly code:
future.get(duration.getNanos(), TimeUnit.NANOSECONDS);
I intended to write:
future.get(duration.toNanos(), TimeUnit.NANOSECONDS);
The text was updated successfully, but these errors were encountered:
https://errorprone.info/bugpattern/ProtoDurationGetSecondsGetNano
Sorry, something went wrong.
This should already be covered by JavaDurationGetSecondsGetNano which uses WARNING level by default.
No branches or pull requests
What happened?
I just wrote some silly code:
What did you want to happen?
I intended to write:
The text was updated successfully, but these errors were encountered: