From e5df30ced38a064d4f09712f624834a7873ca959 Mon Sep 17 00:00:00 2001 From: Error Prone Team Date: Mon, 4 Dec 2023 18:15:56 -0800 Subject: [PATCH] Fix a typo in the "Finally" bugpattern docs. PiperOrigin-RevId: 587898768 --- docs/bugpattern/Finally.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/bugpattern/Finally.md b/docs/bugpattern/Finally.md index 326785711e7..4cc7aef6704 100644 --- a/docs/bugpattern/Finally.md +++ b/docs/bugpattern/Finally.md @@ -5,8 +5,8 @@ complete normally. Consider the following code. In the case where `doWork` throws `SomeException`, the finally block will still be executed. If closing the input stream *also* -fails, then the exception that was thrown in the catch block will be prempted by -the exception thrown by `close()`, and the first exception will be lost. +fails, then the exception that was thrown in the catch block will be preempted +by the exception thrown by `close()`, and the first exception will be lost. ```java InputStream in = openInputStream();