private void joinAndPostProcessBundle ( JoinableResourceBundle bundle , BundleProcessingStatus status ) { JoinableResourceBundleContent store ; List < Map < String , String > > allVariants = VariantUtils . getAllVariants ( bundle . getVariants ( ) ) ; // Add the default bundle variant (the non variant one) allVariants . add ( null ) ; for ( Map < String , String > variantMap : allVariants ) { status . setBundleVariants ( variantMap ) ; String variantKey = VariantUtils . getVariantKey ( variantMap ) ; String name = VariantUtils . getVariantBundleName ( bundle . getId ( ) , variantKey , false ) ; store = joinAndPostprocessBundle ( bundle , variantMap , status ) ; storeBundle ( name , store ) ; initBundleDataHashcode ( bundle , store , variantKey ) ; } }
Join and post process the bundle taking in account all its variants .