From ad670289af573026def9f2872797f9698f881438 Mon Sep 17 00:00:00 2001 From: Lazaro Clapp Date: Wed, 21 Jun 2023 15:25:55 -0700 Subject: [PATCH] Fix typo --- .../uber/nullaway/handlers/temporary/FluentFutureHandler.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nullaway/src/main/java/com/uber/nullaway/handlers/temporary/FluentFutureHandler.java b/nullaway/src/main/java/com/uber/nullaway/handlers/temporary/FluentFutureHandler.java index e246d87de2..04ccd6b419 100644 --- a/nullaway/src/main/java/com/uber/nullaway/handlers/temporary/FluentFutureHandler.java +++ b/nullaway/src/main/java/com/uber/nullaway/handlers/temporary/FluentFutureHandler.java @@ -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)) @@ -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: