From 747a97fbc363feb58817f1f080fc52b8c64c7393 Mon Sep 17 00:00:00 2001 From: Hellblazer Date: Thu, 18 Apr 2024 11:55:28 -0700 Subject: [PATCH] v sync 3 --- .../main/java/com/salesforce/apollo/choam/ViewAssembly.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/choam/src/main/java/com/salesforce/apollo/choam/ViewAssembly.java b/choam/src/main/java/com/salesforce/apollo/choam/ViewAssembly.java index 351e74ee7..c81aa390e 100644 --- a/choam/src/main/java/com/salesforce/apollo/choam/ViewAssembly.java +++ b/choam/src/main/java/com/salesforce/apollo/choam/ViewAssembly.java @@ -385,9 +385,7 @@ public void failed() { @Override public void gather() { - if (selected == null) { - selected = new View(view.pendingViews().last(), nextViewId); - } + assert selected != null : "Have not selected a view"; log.trace("Gathering assembly for: {} on: {}", nextViewId, params().member().getId()); AtomicReference reiterate = new AtomicReference<>(); var retryDelay = Duration.ofMillis(10);