Skip to content
Merged
Show file tree
Hide file tree
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
12 changes: 6 additions & 6 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,21 @@ ext {
// We have to use specific versions with platforms until Maven 4.0.0 is released
// See https://github.com/temporalio/sdk-java/issues/1033
//
// grpcVersion = '[1.34.0,)!!1.44.0'
// grpcVersion = '[1.34.0,)!!1.44.1'
// jacksonVersion = '[2.9.0,)!!2.13.1'
// micrometerVersion = '[1.0.0,)!!1.8.2'
grpcVersion = '1.44.0'
// micrometerVersion = '[1.0.0,)!!1.8.3'
grpcVersion = '1.44.1'
jacksonVersion = '2.13.1'
micrometerVersion = '1.8.2'
micrometerVersion = '1.8.3'

logbackVersion = '1.2.10'
protoVersion = '[3.10.0,)!!3.19.4'
guavaVersion = '[10.0,)!!31.0.1-jre'
jsonPathVersion = '2.7.0'
mockitoVersion = '4.3.1'
tallyVersion = '[0.4.0,)!!0.11.1'
gsonVersion = '[2.0,)!!2.8.9'
slf4jVersion = '[1.4.0,)!!1.7.35'
gsonVersion = '[2.0,)!!2.9.0'
slf4jVersion = '[1.4.0,)!!1.7.36'
}

apply from: "$rootDir/gradle/versioning.gradle"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,6 @@ private void handleWorkflowTaskImpl(PollWorkflowTaskQueueResponseOrBuilder workf
workflowTask,
toJavaDuration(startedEvent.getWorkflowTaskTimeout()),
metricsScope);
statesMachinesCallback.workflowHistoryIterator = historyEvents;
while (historyEvents.hasNext()) {
HistoryEvent event = historyEvents.next();
workflowStateMachines.handleEvent(event, historyEvents.hasNext());
Expand Down Expand Up @@ -309,8 +308,6 @@ private void waitAndProcessLocalActivityCompletion(long nextForcedDecisionTime)

private class StatesMachinesCallbackImpl implements StatesMachinesCallback {

private WorkflowHistoryIterator workflowHistoryIterator;

@Override
public void start(HistoryEvent startWorkflowEvent) {
replayWorkflowExecutor.start(startWorkflowEvent);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,6 @@ private void initDebugMode() {

@Parameterized.Parameters
public static Collection<Boolean> debugModeParams() {
return Arrays.asList(true, false);
return Arrays.asList(false, true);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
import io.temporal.workflow.Workflow;
import io.temporal.workflow.shared.TestWorkflows;
import java.time.Duration;
import java.util.*;
import java.util.concurrent.ExecutionException;
import org.junit.Rule;
import org.junit.Test;
Expand Down Expand Up @@ -75,7 +74,7 @@ public String execute() {

@Override
public String query() {
return queryResult.toString();
return queryResult;
}
}
}