Skip to content

Commit

Permalink
Update reference to Effective Java to the correct item. Also, fix the…
Browse files Browse the repository at this point in the history
… quotes to actually match the text in the links.

PiperOrigin-RevId: 390452957
  • Loading branch information
java-team-github-bot authored and Error Prone Team committed Aug 12, 2021
1 parent 773a3fb commit b1c4299
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions docs/bugpattern/ThrowsUncheckedException.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
[Effective Java 3rd Edition §82][ej3e-82] says:
[Effective Java 3rd Edition §74][ej3e-74] says:

> Use the Javadoc `@throws` tag to document each unchecked exception that a
> method can throw, but do not use the throws keyword to include unchecked
> exceptions in the method declaration.
> Use the Javadoc `@throws` tag to document each exception that a method can
> throw, but do *not* use the `throws` keyword on unchecked exceptions.
[ej3e-82]: https://books.google.com/books?id=BIpDDwAAQBAJ
[ej3e-74]: https://books.google.com/books?id=BIpDDwAAQBAJ

0 comments on commit b1c4299

Please sign in to comment.