Skip to content

Commit

Permalink
[Java] Formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
mjpt777 committed Dec 2, 2019
1 parent c907848 commit f3a634e
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1502,7 +1502,6 @@ private void validateImageForExtendRecording(
final String msg = "cannot extend recording " + recordingSummary.recordingId +
" image joinPosition " + image.joinPosition() +
" not equal to recording stopPosition " + recordingSummary.stopPosition;

controlSession.attemptErrorResponse(correlationId, INVALID_EXTENSION, msg, controlResponseProxy);
throw new ArchiveException(msg);
}
Expand All @@ -1512,7 +1511,6 @@ private void validateImageForExtendRecording(
final String msg = "cannot extend recording " + recordingSummary.recordingId +
" image initialTermId " + image.initialTermId() +
" not equal to recording initialTermId " + recordingSummary.initialTermId;

controlSession.attemptErrorResponse(correlationId, INVALID_EXTENSION, msg, controlResponseProxy);
throw new ArchiveException(msg);
}
Expand All @@ -1522,7 +1520,6 @@ private void validateImageForExtendRecording(
final String msg = "cannot extend recording " + recordingSummary.recordingId +
" image termBufferLength " + image.termBufferLength() +
" not equal to recording termBufferLength " + recordingSummary.termBufferLength;

controlSession.attemptErrorResponse(correlationId, INVALID_EXTENSION, msg, controlResponseProxy);
throw new ArchiveException(msg);
}
Expand All @@ -1532,7 +1529,6 @@ private void validateImageForExtendRecording(
final String msg = "cannot extend recording " + recordingSummary.recordingId +
" image mtuLength " + image.mtuLength() +
" not equal to recording mtuLength " + recordingSummary.mtuLength;

controlSession.attemptErrorResponse(correlationId, INVALID_EXTENSION, msg, controlResponseProxy);
throw new ArchiveException(msg);
}
Expand Down

0 comments on commit f3a634e

Please sign in to comment.