Skip to content
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

SpotBugs检查待修复问题-Bad Practice-Bad use of return value from method #610

Open
YOC19970520 opened this issue Mar 14, 2022 · 0 comments

Comments

@YOC19970520
Copy link
Collaborator

YOC19970520 commented Mar 14, 2022

类型:Method ignores value from method

描述:This method returns a value that is not checked. The return value should be checked since it can indicate an unusual or unexpected function execution. For example, the File.delete() method returns false if the file could not be successfully deleted (rather than throwing an Exception). If you don't check the result, you won't notice if the method invocation signals unexpected behavior by returning an atypical return value.

数量:1

screenshot_20220314_184739

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant