/** * Resolve locale-specific extended instances. * * @param map The definition map containing the definitions to resolve. * @param locale The locale to use. * @throws NoSuchDefinitionException If a parent definition is not found. * @since 2.1.0 */ protected void resolveInheritances(Map<String, Definition> map, Locale locale) { if (map != null) { Set<String> alreadyResolvedDefinitions = new HashSet<String>(); for (Definition definition : map.values()) { resolveInheritance(definition, map, locale, alreadyResolvedDefinitions); } // end loop } }
/** * Resolve locale-specific extended instances. * * @param map The definition map containing the definitions to resolve. * @param locale The locale to use. * @throws NoSuchDefinitionException If a parent definition is not found. * @since 2.1.0 */ protected void resolveInheritances(Map<String, Definition> map, Locale locale) { if (map != null) { Set<String> alreadyResolvedDefinitions = new HashSet<String>(); for (Definition definition : map.values()) { resolveInheritance(definition, map, locale, alreadyResolvedDefinitions); } // end loop } }
resolveInheritance(parent, definitions, locale, alreadyResolvedDefinitions);
resolveInheritance(parent, definitions, locale, alreadyResolvedDefinitions);