Skip to content

Commit a8ca138

Browse files
committed
Fixed spelling of default batch execution handler
1 parent 2ba08e3 commit a8ca138

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main/java/graphql/servlet/DeafultBatchExecutionHandler.java renamed to src/main/java/graphql/servlet/DefaultBatchExecutionHandler.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import java.util.Iterator;
99
import java.util.function.BiFunction;
1010

11-
public class DeafultBatchExecutionHandler implements BatchExecutionHandler {
11+
public class DefaultBatchExecutionHandler implements BatchExecutionHandler {
1212

1313
@Override
1414
public void handleBatch(GraphQLBatchedInvocationInput batchedInvocationInput, Writer writer, GraphQLObjectMapper graphQLObjectMapper,

src/main/java/graphql/servlet/GraphQLQueryInvoker.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public static class Builder {
100100
private Supplier<Instrumentation> getInstrumentation = () -> SimpleInstrumentation.INSTANCE;
101101
private Supplier<PreparsedDocumentProvider> getPreparsedDocumentProvider = () -> NoOpPreparsedDocumentProvider.INSTANCE;
102102
private Supplier<DataLoaderDispatcherInstrumentationOptions> dataLoaderDispatcherInstrumentationOptionsSupplier = DataLoaderDispatcherInstrumentationOptions::newOptions;
103-
private BatchExecutionHandler batchExecutionHandler = new DeafultBatchExecutionHandler();
103+
private BatchExecutionHandler batchExecutionHandler = new DefaultBatchExecutionHandler();
104104

105105
public Builder withExecutionStrategyProvider(ExecutionStrategyProvider provider) {
106106
return withExecutionStrategyProvider(() -> provider);

0 commit comments

Comments
 (0)