Skip to content

Commit 17a401a

Browse files
committed
naming
1 parent cf2219c commit 17a401a

4 files changed

Lines changed: 12 additions & 12 deletions

File tree

‎src/main/java/graphql/execution/AsyncExecutionStrategy.java‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,14 +64,14 @@ public CompletableFuture<ExecutionResult> execute(ExecutionContext executionCont
6464
for (FieldValueInfo completeValueInfo : completeValueInfos) {
6565
fieldValuesFutures.add(completeValueInfo.getFieldValueFuture());
6666
}
67-
executionContext.getDataLoaderDispatcherStrategy().executionStrategy_onFieldValuesInfo(completeValueInfos, parameters);
67+
executionContext.getDataLoaderDispatcherStrategy().executionStrategyOnFieldValuesInfo(completeValueInfos, parameters);
6868
executionStrategyCtx.onFieldValuesInfo(completeValueInfos);
6969
fieldValuesFutures.await().whenComplete(handleResultsConsumer);
7070
}).exceptionally((ex) -> {
7171
// if there are any issues with combining/handling the field results,
7272
// complete the future at all costs and bubble up any thrown exception so
7373
// the execution does not hang.
74-
executionContext.getDataLoaderDispatcherStrategy().executionStrategy_onFieldValuesException(ex, parameters);
74+
executionContext.getDataLoaderDispatcherStrategy().executionStrategyOnFieldValuesException(ex, parameters);
7575
executionStrategyCtx.onFieldValuesException();
7676
overallResult.completeExceptionally(ex);
7777
return null;

‎src/main/java/graphql/execution/DataLoaderDispatchStrategy.java‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ default void executionStrategy(ExecutionContext executionContext, ExecutionStrat
1717

1818
}
1919

20-
default void executionStrategy_onFieldValuesInfo(List<FieldValueInfo> fieldValueInfoList, ExecutionStrategyParameters parameters) {
20+
default void executionStrategyOnFieldValuesInfo(List<FieldValueInfo> fieldValueInfoList, ExecutionStrategyParameters parameters) {
2121

2222
}
2323

24-
default void executionStrategy_onFieldValuesException(Throwable t, ExecutionStrategyParameters parameters) {
24+
default void executionStrategyOnFieldValuesException(Throwable t, ExecutionStrategyParameters parameters) {
2525

2626
}
2727

@@ -30,11 +30,11 @@ default void executeObject(ExecutionContext executionContext, ExecutionStrategyP
3030

3131
}
3232

33-
default void executeObject_onFieldValuesInfo(List<FieldValueInfo> fieldValueInfoList, ExecutionStrategyParameters parameters) {
33+
default void executeObjectOnFieldValuesInfo(List<FieldValueInfo> fieldValueInfoList, ExecutionStrategyParameters parameters) {
3434

3535
}
3636

37-
default void executeObject_onFieldValuesException(Throwable t, ExecutionStrategyParameters parameters) {
37+
default void executeObjectOnFieldValuesException(Throwable t, ExecutionStrategyParameters parameters) {
3838

3939
}
4040

‎src/main/java/graphql/execution/ExecutionStrategy.java‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,14 +221,14 @@ protected CompletableFuture<Map<String, Object>> executeObject(ExecutionContext
221221
for (FieldValueInfo completeValueInfo : completeValueInfos) {
222222
resultFutures.add(completeValueInfo.getFieldValueFuture());
223223
}
224-
executionContext.getDataLoaderDispatcherStrategy().executeObject_onFieldValuesInfo(completeValueInfos, parameters);
224+
executionContext.getDataLoaderDispatcherStrategy().executeObjectOnFieldValuesInfo(completeValueInfos, parameters);
225225
resolveObjectCtx.onFieldValuesInfo(completeValueInfos);
226226
resultFutures.await().whenComplete(handleResultsConsumer);
227227
}).exceptionally((ex) -> {
228228
// if there are any issues with combining/handling the field results,
229229
// complete the future at all costs and bubble up any thrown exception so
230230
// the execution does not hang.
231-
executionContext.getDataLoaderDispatcherStrategy().executeObject_onFieldValuesException(ex, parameters);
231+
executionContext.getDataLoaderDispatcherStrategy().executeObjectOnFieldValuesException(ex, parameters);
232232
resolveObjectCtx.onFieldValuesException();
233233
overallResult.completeExceptionally(ex);
234234
return null;

‎src/main/java/graphql/execution/instrumentation/dataloader/PerLevelDataLoaderDispatchStrategy.java‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,12 +106,12 @@ public void executionStrategy(ExecutionContext executionContext, ExecutionStrate
106106
}
107107

108108
@Override
109-
public void executionStrategy_onFieldValuesInfo(List<FieldValueInfo> fieldValueInfoList, ExecutionStrategyParameters parameters) {
109+
public void executionStrategyOnFieldValuesInfo(List<FieldValueInfo> fieldValueInfoList, ExecutionStrategyParameters parameters) {
110110
int curLevel = parameters.getPath().getLevel() + 1;
111111
onFieldValuesInfoDispatchIfNeeded(fieldValueInfoList, curLevel, parameters);
112112
}
113113

114-
public void executionStrategy_onFieldValuesException(Throwable t, ExecutionStrategyParameters executionStrategyParameters) {
114+
public void executionStrategyOnFieldValuesException(Throwable t, ExecutionStrategyParameters executionStrategyParameters) {
115115
int curLevel = executionStrategyParameters.getPath().getLevel() + 1;
116116
synchronized (callStack) {
117117
callStack.increaseHappenedOnFieldValueCalls(curLevel);
@@ -126,14 +126,14 @@ public void executeObject(ExecutionContext executionContext, ExecutionStrategyPa
126126
}
127127

128128
@Override
129-
public void executeObject_onFieldValuesInfo(List<FieldValueInfo> fieldValueInfoList, ExecutionStrategyParameters parameters) {
129+
public void executeObjectOnFieldValuesInfo(List<FieldValueInfo> fieldValueInfoList, ExecutionStrategyParameters parameters) {
130130
int curLevel = parameters.getPath().getLevel() + 1;
131131
onFieldValuesInfoDispatchIfNeeded(fieldValueInfoList, curLevel, parameters);
132132
}
133133

134134

135135
@Override
136-
public void executeObject_onFieldValuesException(Throwable t, ExecutionStrategyParameters parameters) {
136+
public void executeObjectOnFieldValuesException(Throwable t, ExecutionStrategyParameters parameters) {
137137
int curLevel = parameters.getPath().getLevel() + 1;
138138
synchronized (callStack) {
139139
callStack.increaseHappenedOnFieldValueCalls(curLevel);

0 commit comments

Comments
 (0)