Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ public static class Builder {
ResultPath path = ResultPath.rootPath();
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

root is a constant so its cheap as a default

MergedField currentField;
ExecutionStrategyParameters parent;
DeferredCallContext deferredCallContext = new DeferredCallContext();
DeferredCallContext deferredCallContext;

/**
* @see ExecutionStrategyParameters#newParameters()
Expand Down Expand Up @@ -188,6 +188,9 @@ public Builder deferredCallContext(DeferredCallContext deferredCallContext) {
}

public ExecutionStrategyParameters build() {
if (deferredCallContext == null) {
deferredCallContext = new DeferredCallContext();
}
return new ExecutionStrategyParameters(executionStepInfo, source, localContext, fields, nonNullableFieldValidator, path, currentField, parent, deferredCallContext);
}
}
Expand Down