Skip to content

Commit

Permalink
Improve MustBeClosedChecker
Browse files Browse the repository at this point in the history
It can now suggest adding try-with-resources, and permits saving
resources in a private static final field (the idea being that you
clearly intend never to clear the reference).

PiperOrigin-RevId: 370563811
  • Loading branch information
amalloy authored and Error Prone Team committed Apr 26, 2021
1 parent 710de42 commit 099a46b
Show file tree
Hide file tree
Showing 6 changed files with 612 additions and 22 deletions.
Loading

0 comments on commit 099a46b

Please sign in to comment.