Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
lazaroclapp committed Jun 21, 2023
1 parent e37617c commit ad67028
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public class FluentFutureHandler extends BaseNoOpHandler {
"catching", "catchingAsync", "transform", "transformAsync"
};

private static boolean isGuavaFunctionDotAppy(Symbol.MethodSymbol methodSymbol) {
private static boolean isGuavaFunctionDotApply(Symbol.MethodSymbol methodSymbol) {
Name className = methodSymbol.enclClass().flatName();
return (className.contentEquals(GUAVA_FUNCTION_CLASS_NAME)
|| className.contentEquals(GUAVA_ASYNC_FUNCTION_CLASS_NAME))
Expand All @@ -65,7 +65,7 @@ public Nullness onOverrideMethodReturnNullability(
boolean isAnnotated,
Nullness returnNullness) {
// We only care about lambda's implementing Guava's Function
if (!isGuavaFunctionDotAppy(methodSymbol)) {
if (!isGuavaFunctionDotApply(methodSymbol)) {
return returnNullness;
}
// Check if we are inside a lambda passed as an argument to a method call:
Expand Down

0 comments on commit ad67028

Please sign in to comment.