private List < JoinableResourceBundle > getBundlesToRebuild ( ) { List < JoinableResourceBundle > bundlesToRebuild = new ArrayList <> ( ) ; if ( config . getUseSmartBundling ( ) ) { for ( JoinableResourceBundle bundle : globalBundles ) { if ( bundle . isDirty ( ) ) { bundlesToRebuild . add ( bundle ) ; } } for ( JoinableResourceBundle bundle : contextBundles ) { if ( bundle . isDirty ( ) ) { bundlesToRebuild . add ( bundle ) ; } } } return bundlesToRebuild ; }
Returns the bundles which needs to be rebuild