Skip to content

Commit

Permalink
pr comments
Browse files Browse the repository at this point in the history
Signed-off-by: Lazar Petrovic <lpetrovic05@gmail.com>
  • Loading branch information
lpetrovic05 committed Dec 13, 2023
1 parent b1c0a57 commit a5a03c0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1406,7 +1406,7 @@ public AddressBook getAddressBook() {
*/
@SuppressWarnings("unchecked")
@Override
public <T extends SwirldState> AutoCloseableWrapper<T> getLatestImmutableState(@NonNull final String reason) {
public @NonNull <T extends SwirldState> AutoCloseableWrapper<T> getLatestImmutableState(@NonNull final String reason) {
final ReservedSignedState wrapper = latestImmutableState.getState(reason);
return wrapper == null
? AutoCloseableWrapper.empty()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ private PreconsensusEventReplayWorkflow() {}
* @param consensusRoundHandler the object responsible for applying transactions to consensus rounds
* @param stateHashSignQueue the queue thread for hashing and signing states
* @param initialMinimumGenerationNonAncient the minimum generation of events to replay
* @param latestImmutableState provides the latest immutable state if available
* @param flushIntakePipeline flushes the intake pipeline. only used if the new intake pipeline is
* enabled
*/
Expand Down

0 comments on commit a5a03c0

Please sign in to comment.