private <T>T performWithoutMissingBundlePool(Supplier<T> supplier){
  createBundlePoolIfNecessary();
  return supplier.get();
}

private < T > T performWithoutMissingBundlePool ( Supplier < T > supplier ) { createBundlePoolIfNecessary ( ) ; return supplier . get ( ) ; }
there are places where we add the local bundle pool to act as an artifact cache . but sometimes , that cache doesn ' t exist yet . to make sure we don ' t get an error just because a cache doesn ' t exist , we create the bundle pool if we need it - copy the current model . - remove the bundle pool if it doesn ' t exist . - call the supplier . - if removed any repos , put them back . - return the result .
