Skip to content

Commit

Permalink
chore: flatten event impl (#14592)
Browse files Browse the repository at this point in the history
Signed-off-by: Lazar Petrovic <lpetrovic05@gmail.com>
  • Loading branch information
lpetrovic05 committed Aug 6, 2024
1 parent fa3ccf4 commit 16eb511
Show file tree
Hide file tree
Showing 8 changed files with 447 additions and 600 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
import com.swirlds.common.platform.NodeId;
import com.swirlds.common.utility.IntReference;
import com.swirlds.platform.Utilities;
import com.swirlds.platform.event.EventMetadata;
import com.swirlds.platform.internal.EventImpl;
import com.swirlds.platform.state.MinimumJudgeInfo;
import com.swirlds.platform.system.events.EventConstants;
Expand Down Expand Up @@ -152,7 +151,7 @@ public long getMinGeneration() {
.mapToLong(EventImpl::getGeneration)
.min()
.orElse(EventConstants.GENERATION_UNDEFINED);
allJudges.forEach(EventMetadata::setJudgeTrue);
allJudges.forEach(EventImpl::setJudgeTrue);

return allJudges;
}
Expand Down
Loading

0 comments on commit 16eb511

Please sign in to comment.