From 086e9a64d0279906354cf80b74717b4bb0e6fcc2 Mon Sep 17 00:00:00 2001 From: Andrew Kreimer Date: Wed, 11 Sep 2024 22:35:55 +0300 Subject: [PATCH] Fix a typo --- .../com/google/errorprone/bugpatterns/DoNotCallSuggester.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/com/google/errorprone/bugpatterns/DoNotCallSuggester.java b/core/src/main/java/com/google/errorprone/bugpatterns/DoNotCallSuggester.java index 77593ab1615..dafeb995028 100644 --- a/core/src/main/java/com/google/errorprone/bugpatterns/DoNotCallSuggester.java +++ b/core/src/main/java/com/google/errorprone/bugpatterns/DoNotCallSuggester.java @@ -138,7 +138,7 @@ public Description matchMethod(MethodTree tree, VisitorState state) { } } - // if a method name contais a banned substring, exit + // if a method name contains a banned substring, exit for (String methodSubstring : METHOD_SUBSTRINGS_TO_IGNORE) { if (methodName.contains(methodSubstring)) { return NO_MATCH;