File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99import graphql .util .FpKit ;
1010
1111import java .util .Collection ;
12+ import java .util .Collections ;
1213import java .util .List ;
1314import java .util .Map ;
1415import java .util .Optional ;
@@ -125,7 +126,7 @@ public static List<GraphQLAppliedDirective> toAppliedDirectives(Collection<Graph
125126 * A holder class that breaks a list of directives into maps to be more easily accessible in using classes
126127 */
127128 public static class DirectivesHolder {
128- private static final DirectivesHolder EMPTY_HOLDER = new DirectivesHolder ();
129+ private static final DirectivesHolder EMPTY_HOLDER = new DirectivesHolder (Collections . emptyList (), Collections . emptyList () );
129130
130131 private final ImmutableMap <String , List <GraphQLDirective >> allDirectivesByName ;
131132 private final ImmutableMap <String , GraphQLDirective > nonRepeatableDirectivesByName ;
You can’t perform that action at this time.
0 commit comments