From 20b1071236f439996aff10170946423ca2aa7f16 Mon Sep 17 00:00:00 2001 From: Andreas Marek Date: Tue, 26 Mar 2024 14:07:35 +1000 Subject: [PATCH] cleanup --- .../normalized/ExecutableNormalizedOperationFactory.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/graphql/normalized/ExecutableNormalizedOperationFactory.java b/src/main/java/graphql/normalized/ExecutableNormalizedOperationFactory.java index ffc89ca87e..735ab899d9 100644 --- a/src/main/java/graphql/normalized/ExecutableNormalizedOperationFactory.java +++ b/src/main/java/graphql/normalized/ExecutableNormalizedOperationFactory.java @@ -64,7 +64,6 @@ import static graphql.util.FpKit.filterSet; import static graphql.util.FpKit.groupingBy; import static graphql.util.FpKit.intersection; -import static java.util.Collections.max; import static java.util.Collections.singleton; import static java.util.Collections.singletonList; import static java.util.stream.Collectors.toCollection; @@ -153,7 +152,7 @@ public Options maxChildrenDepth(int maxChildrenDepth) { * @return new options object to use */ public Options maxFieldsCount(int maxFieldsCount) { - return new Options(this.graphQLContext, this.locale, maxChildrenDepth, maxFieldsCount, this.deferSupport); + return new Options(this.graphQLContext, this.locale, this.maxChildrenDepth, maxFieldsCount, this.deferSupport); } /**