Skip to content

Commit

Permalink
Avoid NPE when attempt number not present (#6174)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdpgrailsdev committed Apr 25, 2023
1 parent 7f3b868 commit 0916240
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public class ConnectionUpdaterInput {
@Nullable
private Integer attemptId;
private boolean fromFailure;
private int attemptNumber;
private Integer attemptNumber;
/**
* The state is needed because it has an event listener in it. The event listener only listen to
* state updates which explains why it is a member of the {@link WorkflowState} class. The event
Expand Down

0 comments on commit 0916240

Please sign in to comment.