Skip to content

Commit 086e9a6

Browse files
committed
Fix a typo
1 parent b052f30 commit 086e9a6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/src/main/java/com/google/errorprone/bugpatterns/DoNotCallSuggester.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ public Description matchMethod(MethodTree tree, VisitorState state) {
138138
}
139139
}
140140

141-
// if a method name contais a banned substring, exit
141+
// if a method name contains a banned substring, exit
142142
for (String methodSubstring : METHOD_SUBSTRINGS_TO_IGNORE) {
143143
if (methodName.contains(methodSubstring)) {
144144
return NO_MATCH;

0 commit comments

Comments
 (0)