Skip to content

Commit

Permalink
Fix typo in the "The Problem" paragraph.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 387904595
  • Loading branch information
java-team-github-bot authored and Error Prone Team committed Jul 30, 2021
1 parent 4c57125 commit cc5ef9e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/bugpattern/CheckedExceptionNotThrown.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Java allows methods to declare that they throw checked exceptions even when they
don't. This can lead to call sites beng forced to explicitly handle or propagate
exceptions which provably can never occur. It may also lead readers of the code
to search for possibly throwing paths where none exist.
don't. This can lead to call sites being forced to explicitly handle or
propagate exceptions which provably can never occur. It may also lead readers of
the code to search for possibly throwing paths where none exist.

```java
private static void validateRequest(Request request) throws IOException {
Expand Down

0 comments on commit cc5ef9e

Please sign in to comment.