Skip to content

Commit

Permalink
[Java] Touch ups.
Browse files Browse the repository at this point in the history
  • Loading branch information
vyazelenko committed Jan 8, 2025
1 parent 4e2428b commit df6a19b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,10 @@ else if (image.isEndOfStream() || image.isClosed())

private void state(final State newState, final String reason)
{
logStateChange(state, newState, recordingId,
logStateChange(
state,
newState,
recordingId,
null != image ? image.position() : NULL_POSITION,
null == reason ? "" : reason);
state = newState;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -588,8 +588,7 @@ static boolean notHeaderAligned(

private void state(final State newState, final String reason)
{
logStateChange(state, newState, sessionId, recordingId, replayPosition,
null == reason ? "" : reason);
logStateChange(state, newState, sessionId, recordingId, replayPosition, null == reason ? "" : reason);
state = newState;
}

Expand Down

0 comments on commit df6a19b

Please sign in to comment.