Skip to content

Commit

Permalink
Suppress new warning in the MethodReferenceUsage checker
Browse files Browse the repository at this point in the history
  • Loading branch information
Venorcis committed Aug 17, 2022
1 parent 411c01f commit b683883
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ private static Optional<SuggestedFix.Builder> constructMethodRef(
return constructFix(lambdaExpr, lhsType.tsym, subTree.getIdentifier());
}

@SuppressWarnings("NestingOptionals")
private static Optional<Optional<Name>> matchArguments(
LambdaExpressionTree lambdaExpr, MethodInvocationTree subTree) {
ImmutableList<Name> expectedArguments = getVariables(lambdaExpr);
Expand Down

0 comments on commit b683883

Please sign in to comment.