forked from adobe/aem-core-wcm-components
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update V1/V2
LanguageNavigationImpl
to pass Supplier
to item cons…
…tructors Updates the V1 and V2 `LanguageNavigationImpl` models to pass a `Supplier` to their respective `LanguageNavigationItemImpl` constructors Fixes a possible NPE in `LanguageNavigationImpl` if navigation root is not set in either properties or policy. Removes `LanguageNavigationImpl#getExportedType()` because it is exactly the same as the method from the super class. Update how titles are determined for language navigation items to reuse the logic used for all other navigation items. ---- refs adobe#2526
- Loading branch information
Showing
4 changed files
with
184 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters