Skip to content

Commit e5df30c

Browse files
java-team-github-botError Prone Team
authored and
Error Prone Team
committed
Fix a typo in the "Finally" bugpattern docs.
PiperOrigin-RevId: 587898768
1 parent 4be12bc commit e5df30c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/bugpattern/Finally.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ complete normally.
55

66
Consider the following code. In the case where `doWork` throws `SomeException`,
77
the finally block will still be executed. If closing the input stream *also*
8-
fails, then the exception that was thrown in the catch block will be prempted by
9-
the exception thrown by `close()`, and the first exception will be lost.
8+
fails, then the exception that was thrown in the catch block will be preempted
9+
by the exception thrown by `close()`, and the first exception will be lost.
1010

1111
```java
1212
InputStream in = openInputStream();

0 commit comments

Comments
 (0)