private boolean isSearchingForVariantInPostProcessNeeded ( ) { boolean needToSearch = false ; ResourceBundlePostProcessor [ ] postprocessors = new ResourceBundlePostProcessor [ ] { postProcessor , unitaryCompositePostProcessor , compositePostProcessor , unitaryCompositePostProcessor } ; for ( ResourceBundlePostProcessor resourceBundlePostProcessor : postprocessors ) { if ( resourceBundlePostProcessor != null && ( ( AbstractChainedResourceBundlePostProcessor ) resourceBundlePostProcessor ) . isVariantPostProcessor ( ) ) { needToSearch = true ; break ; } } return needToSearch ; }
Checks if it is needed to search for variant in post process