private boolean hasVariantPostProcessor ( JoinableResourceBundle bundle ) { boolean hasVariantPostProcessor = false ; ResourceBundlePostProcessor bundlePostProcessor = bundle . getBundlePostProcessor ( ) ; if ( bundlePostProcessor != null && ( ( AbstractChainedResourceBundlePostProcessor ) bundlePostProcessor ) . isVariantPostProcessor ( ) ) { hasVariantPostProcessor = true ; } else { bundlePostProcessor = bundle . getUnitaryPostProcessor ( ) ; if ( bundlePostProcessor != null && ( ( AbstractChainedResourceBundlePostProcessor ) bundlePostProcessor ) . isVariantPostProcessor ( ) ) { hasVariantPostProcessor = true ; } } return hasVariantPostProcessor ; }
Checks if the bundle has variant post processor