From 2a3d51c40294d4286c079ee2b4960a9fc13f4635 Mon Sep 17 00:00:00 2001 From: Andrew Kreimer Date: Wed, 11 Sep 2024 22:34:29 +0300 Subject: [PATCH] Fix a typo --- .../bugpatterns/formatstring/FormatStringValidation.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/com/google/errorprone/bugpatterns/formatstring/FormatStringValidation.java b/core/src/main/java/com/google/errorprone/bugpatterns/formatstring/FormatStringValidation.java index b4c855f70ab..054fee02aaa 100644 --- a/core/src/main/java/com/google/errorprone/bugpatterns/formatstring/FormatStringValidation.java +++ b/core/src/main/java/com/google/errorprone/bugpatterns/formatstring/FormatStringValidation.java @@ -145,7 +145,7 @@ protected Void defaultAction(Tree tree, Void unused) { /** * Return an instance of the given type if it receives special handling by {@code String.format}. - * For example, an intance of {@link Integer} will be returned for an input of type {@code int} or + * For example, an instance of {@link Integer} will be returned for an input of type {@code int} or * {@link Integer}. */ private static @Nullable Object getInstance(Tree tree, VisitorState state) {